Jack Sparrow was spotted at Disneyland!

Guests on the Pirates of the Caribbean ride got a huge surprise when Johnny Depp made an appearance in full Jack Sparrow costume. He spoke lines from the movies as riders watched from their boats.

"Everyone was surprised, shocked and excited to see him," one visitor told E! News. "He acted exactly like his character in the movies."

Depp is promoting "Pirates of the Caribbean: Dead Men Tell No Tales," the fifth installment in the blockbuster franchise. Jack Sparrow is evading his longtime nemesis, Armando Salazar (Javier Bardem), whose Spanish Navy ghost crew is hunting down every pirate at sea. Jack, with the help of Henry Turner — Will and Elizabeth's son — must track down the Trident of Poseidon to survive. The movie opens May 26.

Here are some reactions from Disneyland guests at Depp's cameo: