السلام عليكم ورحمة الله وبركاته AhsanAllahu Ilayk Ustad I got a bit confused, if Imam Juwayni was an Ashari then how come we study his Al-Waraqat.

Ustadh AbdulAziz al-Haqqan
The people of ilm mentioned that he repented and this is the way of our ulama they always teach it in the beginning.