Chandra Gupta I ascended the throne in 320 CE and gained control of the important kingdom of Magadha by marrying a Lichchhavi princess, allowing him to extend his kingdom. His son Samudra Gupta succeeded him in 335 CE and was an able general who conquered kingdoms from Punjab to Kanchipuram. Samudra Gupta's son Chandra Gupta II further expanded the empire westward by defeating the Saka people and gaining control of ports in Gujarat. The Gupta Empire then entered a period of decline after being invaded by the Huns during the reign of Skanda Gupta.