Tughril, the co-leader of the Seljuqs, makes Rey the capital of his kingdom after his defeat of the Ghaznavids.