Answer: Dante was deported while writing Inferno and so, much like his poetic counterpart, he felt like he had lost his way and wanted a new direction. Secondly, Inferno is an appraisal of the corruption of both the Catholic Church and Italian government, especially the government of his native Florence.
Explanation: Dante wanted to write a story of the search for spiritual expiation and salvation, and this wish drew heavily from Dante's own experiences.