Sir John D'Oyly, 1st Baronet was a British colonial administrator. He was the second son of Matthias D'Oyly, Archdeacon of Hastings and his wife Mary. He was educated at Westminster School and graduated from Cambridge University in 1796. He went out to Ceylon in 1801, initially as a writer in the civil service and then as President of various provincial courts. He mastered the Sinhalese language during a tenure at Matara under the tutelage of the scholarly Buddhist Monk; Karathota Dhammarama Nayake Thera, and for this proficiency, he was appointed as the Government's chief translator in 1805. He became an Agent of Revenue for the District of Colombo the following year. Further promotions saw him elevated through the ranks of civil and military and he was ultimately appointed to the post of Civil Auditor-General. D'Oyly had a key role in arranging for the British takeover of the Kandyan kingdom in 1815. Being fluent in Sinhala, he was the intermediary between the British Governor and the disaffected Kandyan chiefs who were intriguing to "sell out" the king, Sri Vikrama Rajasinha. D'Oyly is credited with drafting the Kandyan Convention of March 2, 1815 which set out the terms of the accession. He was created a baronet in 1821 and chose to stay in Kandy, eventually dying there in 1824. A Briton who visited Kandy before 1815 had described him as living like a "Cingalese hermit". His earlier association with a woman poet, Gajaman Nona, in Matara led to some speculation. He died in 1824 and was buried in Garrison Cemetery, Kandy. His Obituary, from the Ceylon Gazette of May 29th 1824, read; Even though some describe D'Oyly as someone who has done an immense work to develop Sri Lanka, modern day academicians challenge that view after considering some historical data. He is considered as instrumental in subjugating the people of then Ceylon to the colonial regime of the British. His work led to the dismantling of the entire social order of the country and resulted in great chaos. In his book, The Doomed King, Princeton professor Gananatha Obesekara suggests that D'Oyly was a political hitman. However, Professor Obeysekara further mentions that D'Oyly was only doing his job as a British civil servant in Sri Lanka.