Conversation so far:
in which two part is the medieval history of india divided
India's medieval period is divided into: the 'early medieval period' from the 6th to the 13th century, and the 'late medieval period' from the 13th to 16th century.
What happened in the beginning of the Indian medieval period
The start of the Indian medieval period is typically taken to be the slow collapse of the Gupta Empire from about 480 to 550, ending the classical period, and ancient India.

Question: What happened at the end of the period
Self-contained rewrite: What happened at the end of India's medieval period