A maniac who opposed mass immigration to Germany has been jailed for 14 years for stabbing the mayor of Cologne when she was on the campaign trail last year.

Her attacker, identified only as Frank S., was convicted of the attempted murder of Henriette Reker.

Mrs. Reker was elected the day after the attack on October 17 but lay in a coma and it was uncertain if she would survive her grave injuries.

Frank S. pictured here, stabbed mayoral candidate Henriette Reker in the neck over her refugee policy

The knifeman, centre, described Reker as 'a completely deluded, far-left fancy pants ideologue'

Judge Barbara Havliza, pictured, said Frank S wanted to create 'a climate of fear and to influence politics'

But she pulled through and assumed office a month later.

The High Court in Duesseldorf, North Rhine-Westphalia, heard her attacker - who stabbed her in the neck with a hunting knife because she 'welcomed' refugees - claim he only meant to wound her, not kill her.

Four other people were also injured in the attack as they attempted to try to save her.

The 45-year-old would-be assassin described Reker in court as 'a completely deluded, far-left, fancy pants ideologue'.

Judge Barbara Havliza told the court: 'He wanted to send out a signal against the refugee policies of the government. He wanted to create a climate of fear and to influence politics.

'He doesn't view it as justified for the federal government to let refugees into Germany. According to him the government has committed high treason. He wanted to send an extreme and brutal message against that.'