[3] The third son of Antonio Mordani and Annunziata Mazzotti, from 1815 to 1820 he attended college in Ravenna, studying rhetoric, literature and philosophy under the philologist Pellegrino Farini.
In 1841 he was granted an honorary diploma by the Accademia Ravegnana di Belle Arti thanks to his earlier writings.
In October 1842 he won the competition to be chair of eloquence at the college on the retirement of Dionigi Strocchi from the post.
He was elected a member of the Roman Constituent Assembly of 1849 to represent Ravenna but following for his vote against the maintenance of the church's temporal power he was excluded from teaching and later jailed and exiled from the Papal States.
He moved to live in Florence, where he spent five years before returning to Ravenna in 1855 thanks to the mediation of Giuseppe Pasolini.