In 1569, during the reign of King Mahindrathirat, Ayutthaya was beaten by his enemy, the Burmese and it lost its independence for 15 years. The kingdom was free again in 1584, during the reign of King Naresuan the great when he could drive the Burmese away from the kingdom.