 In 1815 Kandy was occupied in the 2nd Kandyan War, ending Ceylonese independence.Following the bloody suppression of the Uva Rebellion, the Kandyan peasantry were stripped of their lands by the Crown Lands (Encroachments) Ordinance No.12 of 1840 (sometimes called the Crown Lands Ordinance or the Waste Lands Ordinance), a modern enclosure movement and reduced to penury.