Answer
Abbas II of Persia recovered Kandahar from the Mughal Empire in 1638. The city had been under Mughal control since 1595, but Abbas II was able to retake it after a series of military campaigns. The recapture of Kandahar was a major victory for the Safavid Empire and helped to secure its position as a regional power.