July 18, 2020 | 5:49pm

A suspected gunman nicknamed “Rambo” has been arrested after a five-day manhunt in Germany’s Black Forest.

Yves Rausch, 31, fled into the forest near Oppenau after a confrontation with four police officers that ended with him pulling a gun and taking their weapons.

The officers were investigating reports of a man hanging around a hut in the forest when they found Rausch, BBC reported.

More than 2,500 officers combed the forest, using thermal detectors and dogs.

Rausch was found hiding in a bush with four handguns in front of him and an ax in his lap.

German police cars
Emergency services block off the access to the Ramsbach district of Oppenau, Germany, yesterday.AP

“I am very relieved – I think a line can be drawn under a really extraordinary situation for our little town,” Mayor Uwe Gaiser told the Associated Press, according to the BBC.

Ten years ago, Rausch served three years in a juvenile center for shooting a woman with a crossbow; last year, he was found in possession of child pornography while under investigation for possession of explosives, the BBC reported.