Sanskrit was the official language of the Gupta period (approximately 320-550 CE), considered the golden age of Indian culture. While Prakrit and Pali were widely spoken, Sanskrit was used for official inscriptions, court proceedings, and literature. This period saw great Sanskrit scholars like Kalidasa.