Kurunegala had a citadel in the 13th century. Its ascendancy as an ancient capital of Sri Lanka began with a series of events that took place during the late 12th century at Yapahuwa. The sacred tooth relic which was in the Yapahuwa Kingdom was taken by an Aryacakravarti from the Jaffna Kingdom to the Pandyan country during the rule of Buwaneka Bahu I from 1272 to 1284. The relic was brought back by King Parakrama Bahu III who ruled from Kurunegala between 1287 and 1293. Over the next half a century Kurunegala was the capital and the governing centre for three other kings of Sri Lanka.