Election 2023 shows that defenders of democracy 'shouldn't despair': ex-federal prosecutor