When Lord Derby formed governments in the 1850s and 1860s, Disraeli served as Chancellor of the Exchequer and Leader of the House of Commons.On Derby's retirement in 1868, Disraeli became prime minister briefly before losing that year's general election. He returned to opposition until the general election of 1874, when he led the Tories as they won an outright majority.