Gupta dynasty, rulers of a vast empire established in the Indian subcontinent in the 4th century CE, often regarded as the golden age of India in terms of cultural and intellectual achievements. After a sustained invasion of the Hunas, the dynasty came to an end in the 6th century.