Sultanate of Swat should not be confused with Swat (princely state).
The Sultanate of Swat was a Dardic kingdom centred around the city of Manglawar between the 12th and 16th centuries. It was strongest of the several Dardic-speaking states in the region, encompassing the Malakand, Buner, Swat and Dir valleys, as well as upper Hazara region.
During the most of 15th century, the kingdom bordered Kashmir Sultanate to the east, Delhi Sultanate to the south, Timurid Empire to the west and the state of Chitral to the north. The last notable ruler was Sultan Awes Jahangiri, during whose reign the Sultanate was ultimately conquered between 1510 and 1518 after a series of battles by Yousafza'i Pashtuns under the leadership of Malik Ahmed Baba with the assistance of Mughal ruler Babur. This led to the Pashtunization of the Swat and Dir regions. Some accounts trace the origins of Shah Mir dynasty of Kashmir from these rulers of Swāt.