For nearly seven decades, from the middle of the 18th century to the early 19th century, Burma and Siam were involved in multiple wars for control of the coastline. Taking advantage of the Burmese civil war of 1740–1757, the Siamese cautiously moved up the coastline to the south of Mottama in 1751. The winner of the civil war, King Alaungpaya of Konbaung Dynasty recovered the coastline to Dawei from the Siamese in 1760. His son King Hsinbyushin conquered the entire coastline in 1765. In the following decades, both sides tried to extend the line of control to their advantage but they both failed. The Burmese used Tanintharyi as a forward base to launch several unsuccessful invasions of Siam (1775–1776; 1785–1786; 1809–1812); the Siamese too were unsuccessful in their attempts to retake Tanintharyi (1787 and 1792). "(On the northern front, Burma and Siam were also locked in a struggle for the control of Kengtung and Lan Na.)"