Old Delhi is a walled city of Delhi, India, founded as Shahjahanabad in 1639 by the Mughal emperor at the time, Shah Jahan. It remained the capital of the Mughal Empire until its fall in 1857, when the British Raj took over a paramount power in India. It was once filled with mansions of nobles and members of the royal court, along with elegant mosques and gardens. Today, despite having become extremely crowded and dilapidated, it still serves as the symbolic heart of metropolitan Delhi.HistoryThe site of Shahjahanabad is north of earlier settlements of Delhi. Its southern part overlaps some of the area that was settled by the Tughlaqs in the 14th century when it was the seat of Delhi Sultanate. The sultanates ruled from Delhi between 1206 and 1526, when the last was replaced by the Mughal dynasty. The five dynasties were the Mamluk dynasty (1206–90), the Khilji dynasty (1290–1320), the Tughlaq dynasty (1320–1414), the Sayyid dynasty (1414–51), Lodi dynasty (1451–1526) and the Suri dynasty (1540-1556)