Antonio Banderas will star as a pirate in the “SpongeBob SquarePants 2” movie set to be filmed in Savannah and on Tybee Island in the coming weeks.

Officials involved in the movie told Tybee Island representatives Friday morning that Banderas would play a pirate in the movie, said Diane Schleicher, Tybee’s city manager.

Banderas, who has been nominated three times for a Golden Globe, is best known for playing Zorro, according to IMDb.com. He has also played the voice of Puss in Boots in several of DreamWorks’ “Shrek” films and El Mariachi in “Desperado” and “Once Upon a Time in Mexico.”

The SpongeBob sequel will begin filming on Tybee Sept. 30 and in downtown Savannah Oct. 9.

The film will be the second featuring the Nickelodeon cable network favorite. The first SpongeBob movie, released in 2004, grossed more than $140 million.