Shah Jahan inherited the Mughal throne in 1627 after impressing his father Jahangir with his military successes. During his rule, he centralized the administration and encouraged commerce, while also perfecting Mughal architecture by building the Taj Mahal and Red Fort in Delhi. However, Shah Jahan was later imprisoned by his son Aurengzeb, who had overthrown him, and he died eight years later while confined to the Agra Fort.