Old Delhi , also called Purāni Dilli (Hindi: पुरानी दिल्ली, Punjabi: ਪੁਰਾਣੀ ਦਿੱਲੀ, Urdu: پُرانی دلّی), is a walled city of Delhi, founded as Shāhjahānābād (Hindi: शाहजहानाबाद, Punjabi: ਸ਼ਾਹਜਹਾਨਾਬਾਦ, Urdu: شاہجہان آباد) by Indian Emperor Shahjahan in 1639.[1] It remained the capital of the Mughals until the end of the Mughal dynasty.[2][3]