Phraya Tak (Phraya Vajiraprakarn) marched back to Thonburi and established it as his new capital. On December 28, 1768, he was crowned king of Siam and assumed the official name of Boromraja IV, but he was known as King Taksin by the public. He later set out to crush his rivals. He spent three years to retrieve the territory.