A former German attorney with well-known links to the far right has been convicted of Holocaust denial and sentenced to 20 months in prison.

Munich state court spokeswoman Andrea Titz said 51-year-old Sylvia Stolz was convicted of inciting racial hatred for denying the Holocaust in a 2012 speech. She argued during her trial that she was exercising her right to free speech.

Stolz already served time for Holocaust denial after a 2008 conviction related to her defense of notorious Holocaust denier Ernst Zundel, who was convicted himself of the crime in Mannheim in 2007.

Zundel's initial Mannheim trial collapsed after Stolz was banned from the proceedings on grounds she was trying to sabotage them. During the trial, she repeatedly denied the Holocaust and ended a legal document with "Heil Hitler."