The royal city at Fatehpur Sikri, situated 26 miles west of Agra, was built at the orders of the Mughal Emperor Akbar. It is predominately built in red sandstone. The Emperor built a magnificent city as an act of gratitude to a saint, made it the capital of his empire, and then, due to the shortage of water supply, the pristine complex was abandoned. This deserted city has two complexes. The first has the royal enclosure of the palaces and the official buildings. And the second dargah of a Sufi saint, with a mosque and a lofty gateway.