Khusrau Shah hatched a conspiracy against Mubarak Shah. Khusrau Khan was one of the favorite of Mubarak Shah. Khusrau Shah got him murdered in 1320 and himself ascended the throne.
The Qanun-i Humayuni which is also called Humayun Namah was composed in 1534 CE by Khvandamir who was one of the officials under Humayun’s patronage. The memoir is an eyewitness account of Humayun’s reign.