Complex sentence: He founded Agra in 1504 and constructed mosques, shifting the capital from Delhi to Agra.
Split into simpler sentences: He founded Agra in 1504 and constructed mosques. He shifted the capital from Delhi to Agra.