Kurunegala had a citadel in the 13th century.
After the reign of Buwaneka Bahu III, the newly throned king Vijayabahu V ruled from Dambadeniya and Yapahuwa from 1335 to 1341 before once again the kingdom of Sri Lanka shifted to Gampola.