Nader Shah and his Afsharid army arrived in the town of Kandahar in 1738 and defeated Hussain Hotaki subsequently absorbing all of Afghanistan in his empire and renaming Kandahar as Naderabad. Around this time, a young teenager Ahmad Khan joined Nader Shah's army for his invasion of India.