Several shots were fired in a street near the state court in the city of Bielefeld in the early afternoon, according to police.
Four people were injured when shots were fired near a courthouse in western Germany on Wednesday, police said.
A suspect is currently being tried on murder charges in the killing nearly a year ago of a former boxer, Besar Nimani, who was fatally shot in Bielefeld.
Police in a statement that they couldn't rule out a connection with a trial taking place at the court.
The injured people were taken to a hospital; investigators didn't give information on the severity of their injuries.