Ghurid dynasty
During the ninth and tenth centuries, the western regions of Pakistan were part of the Samanid Empire, which was an Iranian dynasty of Tajik roots. The Samanid dynasty is also referred to as the "first Tajik state". The Ghurid dynasty and associated Tajik Vassal State of Swatis, called Gabri Pakhli, which existed between the ninth and 12th centuries, also ruled over parts of modern Pakistan.