In 1923, the prime minister Andrew Bonar Law made Chamberlain the health minister In this job, Chamberlain did more work to help poor people. For example, he made a law that connected rent prices to how good the building was. Chamberlain was then Chancellor of the Exchequer, in charge of the economy, for a short time. After the 1924 general election, he became health minister again, where he stayed until the Conservatives lost the 1929 general election. Between 1924 and 1929, Chamberlain helped to make many new laws to help poor people, including a pensions system that helped to make Britain's welfare state after the Second World War.