The correct answer is C. Dante wrote the inferno after his exiled from Florence.
He never returned to Florence as they would have burned him at the stake because he refused to pay the fine when he was accused of corruption. It was during this time that he wrote the Divine Comedy, of which Inferno is the first part.