Mill's career as a colonial administrator at the British East India Company spanned from when he was 17 years old in 1823 until 1858, when the Company was abolished in favor of direct rule by the British crown over India. In 1836, he was promoted to the Company's Political Department, where he was responsible for correspondence pertaining to the Company's relations with the princely states, and in 1856, was finally promoted to the position of Examiner of Indian Correspondence. In On Liberty, A Few Words on Non-Intervention, and other works, he defended British imperialism by arguing that a fundamental distinction existed between civilized and barbarous peoples. Mill viewed countries such as India and China as having once been progressive, but being now stagnant and barbarous, thus legitimizing British rule as benevolent despotism, "provided the end is [the barbarians'] improvement". When the crown proposed to take direct control over the colonies in India, he was tasked with defending Company rule, penning Memorandum on the Improvements in the Administration of India during the Last Thirty Years among other petitions. He was offered a seat on the Council of India, the body created to advise the new Secretary of State for India, but declined, citing his disapproval of the new system of rule.