Iranian Kurdistan or Eastern Kurdistan (ڕۆژھەڵاتی کوردستان) is an unofficial name for the parts of northwestern Iran with either a majority or sizable population of Kurds. Geographically, it includes the West Azerbaijan Province, Kurdistan Province, Kermanshah Province, Ilam Province and parts of Hamadan Province and Lorestan Province. In totality, Kurds are about 10% of Iran's total population. According to the last census conducted in 2006, the four main Kurdish-inhabited provinces in Iran – West Azerbaijan, Kermanshah Province, Kurdistan Province and Ilam Province – had a total population of 6,730,000. Kurds generally consider northwestern Iran (Eastern Kurdistan) to be one of the four parts of a Greater Kurdistan, which under that conception are joined by parts of southeastern Turkey (Northern Kurdistan), northern Syria (Western Kurdistan), and northern Iraq (Southern Kurdistan). Outside the traditional Kurdistan region, a sizable isolated community of Kurds live in north-eastern Iran, about 1000 km away from Iranian Kurdistan. They are referred to as the Kurds of Khorasan and speak the Kurmanji dialect unlike Kurds in western Iran. From the 10th century to 12th century A.D., two Kurdish dynasties were ruling this region, the Hasanwayhids (959–1015) and the Ayyarids (990–1117) (in Kermanshah, Dinawar, Ilam and Khanaqin). The Ardalan state, established in the early 14th century, controlled the territories of Zardiawa (Karadagh), Khanaqin, Kirkuk, Kifri, and Hawraman. The capital city of the state was first in Sharazour in present-day Iraqi Kurdistan, but was later moved to Sinne (Sanandaj) (in present-day Iran). The Ardalan Dynasty continued to rule the region until the Qajar monarch Nasser-al-Din Shah (1848–1896) ended their rule in 1867. In the 12th century CE, Sultan Sanjar created a province called "Kurdistan" centered at Bahar, located to the northeast of Hamadan. This province included Hamadan, Dinawar, Kermanshah, Sanandaj and Sharazur. It was ruled by Sulayman, the nephew of Sanjar.