After Nadir Shah was killed and his empire collapsed in 1747, the Koh-i-Noor fell to his grandson, who in 1751 gave it to Ahmad Shah Durrani, founder of the Afghan Empire, in return for his support. One of Ahmed's descendants, Shuja Shah Durrani, wore a bracelet containing the Koh-i-Noor on the occasion of Mountstuart Elphinstone's visit to Peshawar in 1808. A year later, Shuja formed an alliance with the United Kingdom to help defend against a possible invasion of Afghanistan by Russia. He was quickly overthrown, but fled with the diamond to Lahore, where Ranjit Singh, founder of the Sikh Empire, in return for his hospitality, insisted upon the gem being given to him, and he took possession of it in 1813.