 In 1734, Nadir Shah attacked Shamakhi with his troop.The inhabitants of Shamakhi resisted against the attack, notwithstanding Surkhay khan had left the city.In August 1734, Nadir Shah's troop overcame the resistance and the city was burnt.