The present design and structure of the Shahi Qilla or Lahore fort trace its origins to 1575 when the Mughal Emperor Akbar occupied the site as a post to guard the northwest frontier of the empire. The strategic location of Lahore, between the Mughal territories and the strongholds of Kabul, Multan, and Kashmir necessitated the dismantling of the old mud-fort and fortification with solid brick masonry. Lofty palaces were built over time, along with lush gardens. Notable Akbar period structures included the Doulat Khana-e-Khas-o-Am, Jharoka-e-Darshan, and Akbari Gate. Many Akbari structures were modified or replaced by subsequent rulers.