Question: When did the British military presence end in the country where the oldest version of the fairy tale that inspired Ever After took place?

full_context: Document 1: Pyramus and Thisbe: Ovid's is the oldest surviving version of the story, published in 8 AD, but he adapted an existing etiological myth. While in Ovid's telling Pyramus and Thisbe lived in Babylon and Ctesias had placed the tomb of his imagined king Ninus near that city, the myth probably originated in Cilicia (part of Ninus' Babylonian empire) as Pyramos is the historical Greek name of the local Ceyhan River. The metamorphosis in the primary story involves Pyramus changing into this river and Thisbe into a nearby spring. A 2nd - century mosaic unearthed near Nea Paphos on Cyprus depicts this older version of the myth.
Document 2: Cinderella: The oldest known version of the Cinderella story is the ancient Greek story of Rhodopis, a Greek courtesan living in the colony of Naucratis in Egypt, whose name means ``Rosy - Cheeks ''. The story is first recorded by the Greek geographer Strabo in his Geographica (book 17, 33), probably written around 7 BC or thereabouts:
Document 3: Ever Ever After: "Ever Ever After" is a song by American singer Carrie Underwood, written by composer Alan Menken and lyricist Stephen Schwartz for "Enchanted "(2007). The song, which was the last of several written for the film, appears as the fifth track on its soundtrack album. A mid-tempo country pop ballad that incorporates elements of both pop and rock music, the lyrics of "Ever Ever After" speak of falling in love and discovering one's happily ever after, as well as several other traditional elements that are often associated with fairy tales.
Document 4: Egypt: The new government drafted and implemented a constitution in 1923 based on a parliamentary system. Saad Zaghlul was popularly elected as Prime Minister of Egypt in 1924. In 1936, the Anglo-Egyptian Treaty was concluded. Continued instability due to remaining British influence and increasing political involvement by the king led to the dissolution of the parliament in a military coup d'état known as the 1952 Revolution. The Free Officers Movement forced King Farouk to abdicate in support of his son Fuad. British military presence in Egypt lasted until 1954.
Document 5: Cinderella (2015 Disney film): Cinderella is a 2015 American romantic fantasy film directed by Kenneth Branagh, with a screenplay written by Chris Weitz. The film is based on the eponymous folk tale and inspired in part by Walt Disney's 1950 animated film of the same name. The film stars Lily James as the titular character with Richard Madden, Cate Blanchett, Stellan Skarsgård, Holliday Grainger, Derek Jacobi, and Helena Bonham Carter. It is produced by David Barron, Simon Kinberg, and Allison Shearmur for Walt Disney Pictures.
Document 6: Gamal Abdel Nasser: Nasser's involvement in political activity increased throughout his school years, such that he only attended 45 days of classes during his last year of secondary school. Despite it having the almost unanimous backing of Egypt's political forces, Nasser strongly objected to the 1936 Anglo-Egyptian Treaty because it stipulated the continued presence of British military bases in the country. Nonetheless, political unrest in Egypt declined significantly and Nasser resumed his studies at al-Nahda, where he received his leaving certificate later that year.
Document 7: Gareth Dunlop: Gareth Dunlop (born East Belfast) is a singer-songwriter from Northern Ireland who is a multi-instrumentalist, engineer and producer. His distinct songwriting and vocal styles has led to his songs being featured in numerous television shows, films and commercials. In 2013, Dunlop's song "Wrap Your Arms Around Me" was part of the soundtrack for the movie "Safe Haven" based on a romance novel by Nicholas Sparks. His song was the second best selling single on the album. Currently, Dunlop is in a joint venture publishing deal with Moraine Music Group and Round Hill Music. He spends time in both the US and Northern Ireland, but permanently lives in Belfast and operates a recording studio in Hollywood.
Document 8: Cinderella, or the Little Glass Slipper: Cinderella, or the Little Glass Slipper is a book illustrated by Marcia Brown. Released by Scribner Press, the book is a retelling of the story of Cinderella as written by Charles Perrault, and was the recipient of the Caldecott Medal for illustration in 1955.
Document 9: Cinderella (1997 film): Cinderella (also known as Rodgers & Hammerstein's Cinderella) is a 1997 American made - for - television romantic musical fantasy film from The Wonderful World of Disney, based on the fairy tale by Charles Perrault and the third version of Rodgers and Hammerstein's television movie musical following the 1957 and the 1965 versions.
Document 10: Egypt: On 18 January 2014, the interim government successfully institutionalised a more secular constitution. The president is elected to a four-year term and may serve 2 terms. The parliament may impeach the president. Under the constitution, there is a guarantee of gender equality and absolute freedom of thought. The military retains the ability to appoint the national Minister of Defence for the next 8 years. Under the constitution, political parties may not be based on "religion, race, gender or geography".
Document 11: British Empire: In 1922, Egypt, which had been declared a British protectorate at the outbreak of the First World War, was granted formal independence, though it continued to be a British client state until 1954. British troops remained stationed in Egypt until the signing of the Anglo-Egyptian Treaty in 1936, under which it was agreed that the troops would withdraw but continue to occupy and defend the Suez Canal zone. In return, Egypt was assisted to join the League of Nations. Iraq, a British mandate since 1920, also gained membership of the League in its own right after achieving independence from Britain in 1932. In Palestine, Britain was presented with the problem of mediating between the Arab and Jewish communities. The 1917 Balfour Declaration, which had been incorporated into the terms of the mandate, stated that a national home for the Jewish people would be established in Palestine, and Jewish immigration allowed up to a limit that would be determined by the mandatory power. This led to increasing conflict with the Arab population, who openly revolted in 1936. As the threat of war with Germany increased during the 1930s, Britain judged the support of the Arab population in the Middle East as more important than the establishment of a Jewish homeland, and shifted to a pro-Arab stance, limiting Jewish immigration and in turn triggering a Jewish insurgency.
Document 12: Ever After: Ever After (known in promotional material as Ever After: A Cinderella Story) is a 1998 American romantic drama film inspired by the fairy tale "Cinderella". It was directed by Andy Tennant and stars Drew Barrymore, Anjelica Huston, Dougray Scott, and Jeanne Moreau. The screenplay is written by Tennant, Susannah Grant, and Rick Parks. The original music score is composed by George Fenton. The film's closing theme song "Put Your Arms Around Me" is performed by the rock band Texas.
Document 13: Have You Ever Really Loved a Woman?: ``Have You Ever Really Loved a Woman? ''is a song written by Bryan Adams, Michael Kamen and Robert John`` Mutt'' Lange, and recorded by Adams for the film Don Juan DeMarco. The melody is used as a musical motif throughout the film, and the song is featured three times in the movie, twice performed by other artists in Spanish, and finally performed by Adams himself during the closing credits. The Adams version of the song, which features flamenco guitarist Paco de Lucia, is featured on the soundtrack album and also on the album 18 til I Die, which was released over a year later. It was at number one for five weeks on the Billboard Hot 100 in the United States, making it the third number one song for the songwriting team, and went on to earn them their second Oscar nomination. It also went to number one in Canada (five weeks), Australia, Austria and Switzerland while reaching the top five in nine additional countries, including the UK, and the top ten in a further four countries. The song was nominated for Best Original Song at the 68th Academy Awards but lost to ``Colors of the Wind ''from Pocahontas.
Document 14: Gamal Abdel Nasser: On 11 October 1951, the Wafd government abrogated the 1936 Anglo-Egyptian Treaty, which had given the British control over the Suez Canal until 1956. The popularity of this move, as well as that of government-sponsored guerrilla attacks against the British, put pressure on Nasser to act. According to Sadat, Nasser decided to wage "a large scale assassination campaign". In January 1952, he and Hassan Ibrahim attempted to kill the royalist general Hussein Sirri Amer by firing their submachine guns at his car as he drove through the streets of Cairo. Instead of killing the general, the attackers wounded an innocent female passerby. Nasser recalled that her wails "haunted" him and firmly dissuaded him from undertaking similar actions in the future.
Document 15: Scheherazade: Scheherazade / ʃəˌhɛrəˈzɑːd, - də /, or Shahrazad (Arabic: شهرزاد ‎ ‎ Šahrazād, derived from Middle Persian Čehrāzād), is a character and the storyteller in One Thousand and One Nights. This book includes the tales of Aladdin, Ali Baba and many more.
ground_truth: 1954
sub_queries: Which is the basis of Ever After? Answer: Cinderella
when does the story of Cinderella take place Answer: Egypt
How long did British military presence remain in Egypt ? Answer: 1954