The 19th century saw the Commons gradually take over from the Lords. In the first half of the century the prime minister and most of the cabinet were peers, members of the House of Lords. By the late 19th century, the prime minister and most of the cabinet came from the House of Commons. This happened gradually, and perhaps the reform of elections helped make the Commons the more important chamber.