Nizam al-Mulk
In 1106/1107, Ahmad ibn Nizam al-Mulk, the son of the famous vizier Nizam al-Mulk, went to the court of Muhammad I to file a complaint against the rais (head) of Hamadan. When Ahmad arrived to the court, Muhammad I appointed him as his vizier, replacing Sa'd al-Mulk Abu'l-Mahasen Abi who had been recently executed on suspicion of heresy. The appointment was due mainly to the reputation of his Ahmad's father. He was then given various titles which his father held (Qewam al-din, Sadr al-Islam and Nizam al-Mulk).