The Dutch attempted to control the tin trade in the 17th century, and built defensive forts at the mouth of the Perak River and on Pulau Pangkor.
In 1651, Temenggung and the people of Perak attacked and destroyed the Dutch plant.