Domestic affairs were handled by Nizam al-Mulk, who also founded the administrative organization that characterized and strengthened the sultanate during the reigns of Alp Arslan and his son, Malik Shah I.