Berlin, Dec 6 (AP) German police said a 14-year-old girl died and a 13-year-old girl was seriously injured after they were attacked by a man with a knife on their way to school Monday.

Police in the southwestern city of Ulm said first responders resuscitated the older girl before she was rushed to a hospital following the attack at about 7:30 am in the nearby town of Illerkirchberg.

Also Read | Bomb Scare: EasyJet Flight Heading to UK Makes Emergency Landing at Prague Airport Due to Report of 'Possible Bomb' on Board.

“Despite all efforts by the doctors she died there,” police said in a statement. The younger girl remains in the hospital with serious but not life-threatening injuries, they said. Both victims had German citizenship.

A 27-year-old man was arrested by officers inside a refugee shelter near the scene of the attack. The man, who was found with injuries and a knife, is of Eritrean origin, police said. Two other men also were detained.

Also Read | Seals Dead in Russia: Mass Seal Death Likely Due to Oxygen Deprivation, Says Russian Environmental Official.

Investigators were trying to determine a motive for the attack and whether the suspect and the girls knew each other before it happened.

Germany's top security official expressed shock at the attack.

“I grieve with the girl who was killed and hope fervently that the injured recovers her health,” Interior Minister Nanct Faeser said on Twitter. “My thoughts are with their families at this time.”

In their statement, police urged people to refrain from stoking suspicion against refugees, asylum-seekers and other foreigners. (AP)

(The above story is verified and authored by Press Trust of India (PTI) staff. PTI, India’s premier news agency, employs more than 400 journalists and 500 stringers to cover almost every district and small town in India.. The views appearing in the above post do not reflect the opinions of LatestLY)