Laem Pho Beach in the district is thought to have been a Srivijaya Kingdom seaport in the 7th to 13th centuries. Srivijaya was an Indonesian city-state that grew to become an influential maritime power in what is now Southeast Asia. Tang Dynasty (7th–10th centuries) ceramics have been found in the area as well as pottery from India and glassware from Persia. Similar finds have been made in Ban Thung Tuek, Takua Pa District, Phang Nga Province on the other side of the isthmus, 200 km distant, indicating that there may have been an overland route connecting the Gulf of Thailand with the Andaman Seacoast. This route would have enabled traders to avoid piracy in the narrow Strait of Malacca.