<P> Port Royal is a British colony . It is based on the historical Port Royal, a city located at the end of the Palisadoes at the mouth of the Kingston Harbour, in southeastern Jamaica . </P> <P> Scenes set in the harbor of Port Royal were filmed at Wallilabou Bay, Saint Vincent and the Grenadines . A replica of Fort Charles was built on the Palos Verdes Peninsula near Los Angeles, as was Governor Swann's mansion . The scenes set inside the mansion were filmed in Manhattan Beach, California . </P> <P> Port Royal appears in all movies except in On Stranger Tides . </P> <P> Elizabeth Swann arrives in Port Royal as a child, after her father Weatherby Swann is appointed governor . In the first film, Will Turner works in the town as a blacksmith's apprentice . Port Royal is attacked by the crew of the Black Pearl after Elizabeth accidentally summons the pirates . Pintel and Ragetti kidnap Elizabeth from her mansion, which is located in the town . Jack is imprisoned in the jail there, but Will Turner helps him escape . </P>

Where did they film pirates of the caribbean