A German court began hearing on Tuesday the case against two far-right extremists accused of killing a regional politician whose execution-style slaying shocked the country last year.

Walter Luebcke, a member of Chancellor Angela Merkel’s party who led the regional administration in the Kassel area of central Germany, was shot on his porch on June 1, 2019, and died later that night.

Stephan Ernst, a 46-year-old with previous convictions for violent anti-migrant crimes, is accused of murder, attempted murder, serious bodily harm and firearms offenses.

Defendant Stephan Ernst, right, who is accused of murdering politician Walter Luebcke, arrives for the first day of his trial at the Oberlandgericht Frankfurt courthouse, in Frankfurt, Germany, Tuesday, June 16, 2020. (Thomas Lohnes/Pool via AP)

Defendant Stephan Ernst, right, who is accused of murdering politician Walter Luebcke, arrives for the first day of his trial at the Oberlandgericht Frankfurt courthouse, in Frankfurt, Germany, Tuesday, June 16, 2020. (Thomas Lohnes/Pool via AP)

TRUMP SAYS HE WANTS MAJOR TROOP REDUCTION IN GERMANY

A second man, identified only as Markus H. because of privacy rules, was charged with being an accessory to murder and breaking firearms laws.

Lines formed late Monday outside the Frankfurt regional court where the trial is taking place amid heightened security precautions. Restrictions due to the coronavirus pandemic mean only a small number of reporters and members of the public will be able to witness the trial.

Police officers lead defendant Markus H., right, into the court room in Frankfurt, German, June 16, 2020. The Higher Regional Court begin hearing the case against two far-right extremists accused of killing the regional politician Walter Luebcke of Merkel"s Christian Democratic Union party. (Thomas Lohnes/Pool via AP)

Police officers lead defendant Markus H., right, into the court room in Frankfurt, German, June 16, 2020. The Higher Regional Court begin hearing the case against two far-right extremists accused of killing the regional politician Walter Luebcke of Merkel"s Christian Democratic Union party. (Thomas Lohnes/Pool via AP)

Prosecutors say Ernst and Markus H. both attended an October 2015 town hall event where Luebcke defended the German government’s decision to allow hundreds of thousands of refugees into the country. A video of Luebcke’s remarks was widely shared in far-right circles, drawing numerous threats.

Federal prosecutor Dieter Killmer said Ernst was motivated by “racism and xenophobia.”

Both suspects sought "an ethnically and culturally homogenous society," said Killmer.

NORWEGIAN GUNMAN WHO ATTACKED OSLO MOSQUE SENTENCED TO 21 YEARS IN PRISON

In January 2016, Ernst allegedly stabbed an Iraqi asylum-seeker in the back, injuring the victim’s spine and severing two nerves. Police only linked him to the racially-motivated stabbing after finding the knife used in his possession when he was arrested for Luebcke’s slaying last June.

Presiding judge Thomas Sagebiel arrives on the first day of the trial in the case of murdering Walter Luebcke at the Oberlandgericht Frankfurt courthouse, in Frankfurt, Germany, Tuesday, June 16, 2020. (Thomas Lohnes/Pool via AP)

Presiding judge Thomas Sagebiel arrives on the first day of the trial in the case of murdering Walter Luebcke at the Oberlandgericht Frankfurt courthouse, in Frankfurt, Germany, Tuesday, June 16, 2020. (Thomas Lohnes/Pool via AP)

Authorities discovered numerous illegal firearms that Ernst had stored in various locations, including three revolvers, two pistols, two rifles and a submachine gun, as well as 1,400 bullets.

Ernst initially told investigators he carried out the killing alone, but later retracted this claim.

During the trial, Luebcke's wife and two sons will be present as co-plaintiffs, as permitted by German law.

“I am convinced that it was a cold-blooded, insidious, cowardly murder with vicious motives," Holger Matt, a lawyer for the Luebcke family, told reporters outside the court.

CLICK HERE TO GET THE FOX NEWS APP

The German government vowed to crack down on far-right extremism following the Luebcke killing and other attacks last year, warning that it poses a significant security threat in the country.

The trial is scheduled to last until at least October.