The Government of Singapore is defined by the Constitution of Singapore to mean the executive branch of the state, the Republic of Singapore, which is made up of the president and the Cabinet. Although the president acts in their personal discretion in the exercise of certain functions as a check on the Cabinet and the Parliament, their role is largely ceremonial. It is the Cabinet, composed of the prime minister and other ministers appointed on their advice by the president, that have the general direction and control of the government. The Cabinet is formed by the political party that gains a simple majority in each general election. A statutory board is an autonomous agency of the Government that is established by an Act of Parliament and overseen by a government ministry. Unlike ministries and government departments that are subdivisions of ministries, statutory boards are not staffed by civil servants and have greater independence and flexibility in their operations. There are five Community Development Councils (CDCs) appointed by the board of management of the People's Association (PA) for districts in Singapore. Where there are not less than 150,000 residents in a district, the PA's board of management may designate the chairman of a CDC to be the mayor for the district that the CDC is appointed for. As it is the practice for Members of Parliament (MPs) to be appointed as Chairmen of CDCs, these MPs have also been designated as mayors. There are currently five districts in the country. From the founding of contemporary Singapore in 1819 until 1826, Singapore was headed by two residents in succession. Following Singapore's amalgamation into the Straits Settlements in 1826, it was governed by a governor together with a legislative council. An executive council of the Straits Settlements was introduced in 1877 to advise the governor but wielded little to no executive power. In 1955, a Council of Ministers was created, appointed by the governor on the recommendation of the leader of the house. Constitutional talks between Legislative Assembly representatives and the Colonial Office were held from 1956 to 1958, and Singapore achieved full internal self-government in 1959. The governor was replaced by the Yang di-Pertuan Negara, who had power to appoint to the post of prime minister the person most likely to command the authority of the assembly, and other ministers of the Cabinet on the prime minister's advice. In the 1959 general