Prime Minister of the United Kingdom century as a convention of the constitution, the position of Leader of the Opposition was given statutory recognition in 1937 by the Ministers of the Crown Act. British Prime Ministers have never been elected directly by the public. A Prime Minister need not be a party leader; David Lloyd George was not a party leader during his service as prime Minister during World War I, and neither was Ramsay MacDonald from 1931 to 1935. Prime Ministers have taken office because they were members of either the Commons or Lords, and either inherited a majority in the Commons or won more
House of Commons of the United Kingdom recommending a successor, the party was unable to nominate one. It fell to the Queen to appoint Harold Macmillan as the new prime minister, after taking the advice of ministers. By convention, all ministers must be members of the House of Commons or of the House of Lords. A handful have been appointed who were outside Parliament, but in most cases they then entered Parliament either in a by-election or by receiving a peerage. Since 1902, all prime ministers have been members of the Commons; the sole exception, the 14th Earl of Home, disclaimed his peerage three days after becoming