Updated at 6.20pm

A 19-year-old man arrested over the death of a neighbour's son has admitted killing the child as well as a 22-year-old acquaintance, prosecutors in western Germany said.

The suspect, identified as Marcel Hesse, is said to have blamed his actions on frustration over a rejected bid to join the German army and the recent loss of his internet connection.

The case shocked the western German city of Herne after the suspect allegedly circulated photos of the bloodied crime scenes online.

Hundreds of officers spent three days hunting the suspect before he gave himself up on Thursday night.

Bochum prosecutor Danyal Maibaum said Hesse made a comprehensive confession following his arrest and is being held on suspicion of murder.

Hesse allegedly lured a nine-year-old boy out of his home under a pretext on Monday, Mr Maibaum said. The child's body was found in a basement with 52 stab wounds, following a tip from a member of the public.

Hesse called police from a Greek restaurant on Thursday evening to turn himself in, and informed officers of a fire in a nearby apartment.

Police found the body of an adult male in the apartment, believed to be a 22-year-old acquaintance of Hesse's.

Klaus-Peter Lipphaus, the head of the police homicide department for Bochum, told reporters the suspect was speaking freely to investigators and was "ice cold, emotionless" as he detailed his alleged crimes.

During his interview with police, Hesse claimed that he had attempted to kill himself recently after his application to join the German army was rejected and a recent move to a new home resulted in him being unable to access the internet, Mr Lipphaus said.

Hesse said he spontaneously decided to kill somebody else after he failed to take his own life and sought out the neighbour's child, Mr Lipphaus added.

After killing the child, Hesse contacted a nearby friend, Mr Lipphaus said. They ate dinner and played computer games together before Hesse killed the 22-year-old the following morning, he said.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.