In 1835 he published the Tamworth Manifesto, which told people how he wanted the government to be run. He came to power in 1841, defeating the Whig government of Lord Melbourne, and ruled the country until 1846. During this time, Peel's popularity with other party members became lower because many of them thought he was too proud, and disliked the way he changed his mind over many important issues, often without telling them first. The defeat of his Conservative Party in 1846 was followed by a brief period in the House of Commons until his death in 1851, in a horse riding accident.