Onlookers apparently shouted "jump" before a teenage migrant leapt from a block of flats in an eastern German town, killing himself, the town's mayor has said.

Regional broadcaster MDR reports that police and fire officers in Schmoelln had tried to persuade the 15-year-old boy, registered as Somali, not to jump on Friday from the building where he lived.

"There is information that some ... onlookers spent a long time watching this incident and there were apparently shouts like 'Go on, jump!'" mayor Sven Schrade said.

"One can only condemn something like this," Mr Schrade added.

"If someone takes it as an experience like a movie and then thinks they have to shout encouragement, too, that's an unbelievable act."

Another local official, Matthias Bergmann, said some people apparently took photos from nearby balconies as the tragedy unfolded, MDR reported.

The broadcaster said the boy had been living in the area since April and spent a week at a psychiatric clinic being treated for depression before he returned Friday to the apartment he shared in Schmoelln with other young migrants.

An estimated 890,000 migrants and refugees arrived in Germany last year and anti-migrant sentiment has grown amid the influx.

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.