Ṭughril Beg, first Sultan of the Saljûq dynasty, entered Baghdâd and put an end to the Buwaihid dynasty in 447/1055. By 451/1059, he had eliminated all pretenders to the supreme amirate, himself becoming the supreme amîr, the Sultan.
The Saljûq dynasty itself dates from the year 429/1037, when Ṭughril seized Nîsâbûr. This also was the occasion for the first known relations between the Saljûq warrior and the Abbâsid Caliph al-Qâim,1 when the latter sent a mission2 to Tughril, admonishing him to refrain from destroying the conquered cities and mistreating the Caliph's subjects.