At age 18, William Dampier (1652-1715) was apprenticed to a seaman at Weymouth. He served briefly in the Third Anglo-Dutch War, worked on a Jamaican sugar plantation and aboard merchant ships, before deserting his post to join a buccaneer fleet. After an unsuccessful attack on Panama City, he joined a group of French and English pirates with whom he raided Costa Rica and frequented the buccaneer base at Tortuga before being driven away by Spanish warships. In 1686, Dampier sailed more than 6000 miles across the Pacific from Cape Corrientes, Mexico, to Guam, later carrying on through the South China Sea and the Gulf of Thailand. From there, his ship turned southward and in 1688 became the first English ship to visit New Holland (Australia). His journey continued through India, Sumatra, Vietnam, and the Malay peninsula, until he finally returned to England in 1691, making him the first Englishman to circle the globe since Thomas Cavendish a century before.