Complex sentence: He was one of the greatest rulers of the Ghurid dynasty, and is credited with laying the foundation of Islamic occupation in India that lasted for several centuries.
Split into simpler sentences: He was one of the greatest rulers of the Ghurid dynasty. He is credited with laying the foundation of Islamic occupation in India that lasted for several centuries.