British troops were withdrawn to the Suez Canal area in 1947, but nationalist, anti-British feelings continued to grow after the war. The 1952 coup overthrew the Egyptian monarchy and established the modern Republic of Egypt. The last British troops left Egypt in June 1956 as per the 1954 Anglo-Egyptian Agreement, returning briefly during the Suez Crisis.