The 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 Khalji dynasty (1290–1320), the Tughlaq dynasty (1320–1414), the Sayyid dynasty (1414–51), Lodi dynasty (1451–1526) and the Suri dynasty (1540-1556)