He was elected president of the Convention, and helped bring about the impeachment of Jean-Baptiste Carrier, the perpetrator of mass executions by drowning ("noyades") of royalist sympathizers. He was subsequently elected a member of the Council of Ancients. During the French Directory, Legendre was elected to the Council of Five Hundred, but was already suffering from dementia.