The word ''Morocco'' is derived from the name of the city of Marrakesh, which was its capital under the Almoravid dynasty and the Almohad Caliphate. The origin of the name Marrakesh is disputed, but it most likely comes from the Berber words  (), meaning 'Land of God'. The modern Berber name for Marrakesh is  (in the Berber Latin script). In Turkish, Morocco is known as , a name derived from its ancient capital of Fes. However, in other parts of the Islamic world, for example in Egyptian and Middle Eastern Arabic literature before the mid-20th century, the name commonly used to refer to Morocco was  (). 