 Peshawar was then ruled by the Hephthalites, followed by the Hindu Shahis, before the arrival of Muslim empires.The city was an important trading centre during the Mughal era, before becoming part of the Afghan Durrani Empire in December 1747, and serving as the Afghan winter capital from 1776 until the capture of the city by the Sikh Empire in March 1823, who were then followed by the British in 1846.The modern name of the city "Peshawar" is widely attributed to the name "Purushapura" (Sanskrit