Abul Fazl wrote the book Ain-i-Akbari or the "Constitution of Akbar". He was the Grand vizier of the Mughal emperor Akbar, and author of the Akbarnama, the official history of Akbar's reign. Akbarnama has three volumes, the third volume is known as the Ain-i-Akbari or the "Constitution of Akbar". This volume recorded the detailed document of the emperor Akbar's administration.