Complex sentence: According to history, Akbar the Mughal Emperor, who lived in his residence in Lahore from 1584 to 1598, enclosed the city with brick walls and 12 gates of considerable height and strength.
Split into simpler sentences: According to history Akbar the Mughal Emperor who lived in his residence in Lahore, from 1584 to 1598. Enclosed the city with brick walls and 12 gates of considerable height and strength.