The head of state formally appoints the prime minister, who in turn selects the other cabinet ministers. In practice, however, the choice exercised by the head of state is often quite limited (except in semipresidential systems); it is restricted generally to the head of the largest party or coalition in the legislature (typically the lower house in a bicameral system). Although the origin of the title lies in 17th-century France, where Cardinal de Richelieu was acknowledged in 1624 as principal or premier ministre, the office essentially developed in Britain in the 18th century, when the king ceased to attend and chair meetings of his ministers.