A fanatical neo-Nazi couple who named their baby son after Adolf Hitler were sentenced by a British court to prison Tuesday for belonging to a group banned under anti-terrorism laws.

Adam Thomas, 22, was sentenced to six and a half years, while his Portuguese partner, Claudia Patatas, 38, received five years during their appearance in Birmingham Crown Court.

Judge Melbourne Inman said the pair had “a long history of violent racist beliefs,” the UK’s Guardian reported.

The couple, of Banbury, Oxfordshire, held hands and wept as they were sentenced along with four other people for being members of the far-right organization National Action, which was banned in 2016.

The group wanted “the overthrow of democracy in this country by serious violence and murder, and the imposition of a Nazi-style state which would eradicate whole sections of society by such violence and mass murder,” Inman said.

The judge told the couple that “you acted together in all you thought, said and did, in the naming of your son and the disturbing photographs of your child by symbols of Nazism and the Ku Klux Klan.”

Photographs recovered from their home showed Thomas cradling his newborn son while wearing a white KKK robe.

The couple’s close friend Darren Fletcher, 28, who had taught his daughter to give a Nazi salute, also was sentenced Tuesday to five years for the same crime.

Daniel Bogunovic, 27, a leading member of National Action’s Midlands chapter, was sentenced to six years and four months.

Prosecutors described him as a “committed National Action leader, propagandist and strategist.”

Two other men — cybersecurity worker Joel Wilmore, 24, and van driver Nathan Pryke, 26, described as the group’s “security enforcer” — were sentenced to five years, 10 months and five years, five months, respectively.

Last week, the jury was told that Thomas, a former Amazon security guard, and Patatas, a wedding photographer, gave their child the middle name “Adolf” and that they had swastika cushions in their home.

Patatas told another National Action member that “all Jews must be put to death,” while Thomas had once told his partner he found “all non-whites intolerable.”

Thomas also was convicted of having a terrorist manual, “The Anarchist’s Cookbook,” which jurors heard contained instructions on making “viable” bombs.

With Post wires