This list is comprised of the Presidents and Prime Ministers of Egypt. The office of Prime Minister, the head of government, was established in 1878 while Egypt was still technically a province of the Ottoman Empire. Coming under British control, Egypt gained independence in 1920 as a kingdom. In 1952 the kingdom was overthrown and Egypt became a republic with a President as the head of state.