After the death of Tughril in 1063, Kunduri attempted to install his infant nephew Sulayman (a son of Chaghri Beg) on the throne.
It was, however, Chaghri Beg's more competent and elder son Alp Arslan, who ruled Khurasan, that ultimately ascended the throne.
"[6] Along with the poet Abu'l-Qasim Ali Bakharzi, Kunduri was educated in the Khurasanian principal city of Nishapur, by Imam al-Muwaffaq al-Nishapuri.
[2] When the first Seljuk Sultan Tughril (r. 1037–1063) conquered Nishapur in 1038, he told Imam al-Muwaffaq that he wanted a secretary who could speak both fluent Arabic and Persian.
[3] During his vizierate, Kunduri began to assemble a standard Perso-Islamic state and this was continued under the following Seljuk sultans, Alp Arslan (r. 1063–1072) and Malik-Shah I (r. 1072–1092).
The work of Ibn Hassul, amongst other things, connected the Seljuk family with Tur, a son of the mythological Iranian king Fereydun.
Kunduri once again attempted to place Anushirwan on the throne, now with the support of Altun Jan, the Abbasid caliph al-Qa'im (r. 1031–1075), as well as the merchants and the leading officials of Baghdad.
When Kunduri requested al-Qa'im to announce Anushirwan as sultan, he told him to postpone the plot and secure the city against al-Basasiri.
Tughril became somewhat obsessed with the idea of marrying an Abbasid princess, perhaps with the aspiration that one of his descendants one day might rule as caliph.
Between February and March 1062, Kunduri finally convinced al-Qa'im to agree, in exchange for lucrative payment, and on the condition that his daughter was not to leave the caliphal palace.
Regardless, the marriage was only nominal and ended abruptly after six months and twenty-three days due to Tughril's death on 4 September 1063.
However, at the instigation of Nizam al-Mulk, Alp Arslan had Kunduri imprisoned in Marw-Rud on 31 December 1063 and also had his property confiscated.
[15][16][17] Kunduri included the cursing of the Ash'ari school in the khutba of Nishapur in 1053, which led to distinguished scholars, such as al-Qushayri and al-Juwayni to seek refuge in the Arabian region of Hijaz.
[18][19] Both medieval and modern sources largely agree that the act was political, done so that the Hanafi could occupy high offices.