Updated

German police commandos slipped into a house where a knife-wielding man was holding four schoolgirls hostage Tuesday, surprising the suspect and taking him into custody while rescuing his captives after a five-hour standoff.

The man inflicted a superficial knife wound on the stomach of a 16-year-old hostage, whom he held with three 11-year-olds, before he was captured by a police SWAT team that entered the red brick house at the end of a cul-de-sac shortly after 6 p.m., lead investigator Ulrich Kuhne said.

Police earlier said the suspect, identified as a 50-year-old Iranian asylum-seeker who has been in Germany (search) since the 1990s, was injured as he was overpowered, but Kuhne gave no further details.

The man apparently wanted to be allowed to bring his children from Iran to Germany.

The SWAT team (search) acted with particular caution, because the man was known to have psychological problems and the house in which he held the girls was owned by a hunter who had rifles and handguns on the premises, Kuhne said.

"Thank God, he did not use that opportunity," Kuhne said.

Police jumped the man after he had bound his four captives together to take them to the bathroom, Kuhne said.

The man had pulled the girls off a public bus he commandeered and forced them into the basement of the home at about 1 p.m.

The bus was packed with children on their way home from school in the town of Ennepetal, between the cities of Duesseldorf (search) and Dortmund.

The mother of one child said the man told them he wanted to bring his family to Germany from Iran, a motive backed up by a letter in Arabic that police found on the bus, said investigating prosecutor Wolfgang Rahmer.

Renate Schulte said her 16-year-old son, Marvin, who fled after the man forced the bus driver to stop, told her the man read a statement saying his children were in Iran and he wanted to be allowed to bring them to Germany.

The man then herded some of the children to the back of the bus and tied several of them together by their belt buckles with a cord. He told the children to stay calm and said he wanted to talk to the German government, Marvin Schulte said.

"He didn't seem aggressive," the teenager said. "He said we should stay quiet and he didn't want to harm us."

The man forced the bus driver to stop and hustled the group of captives off the bus, but apparently let several of them go.

He forced the others toward a house where a woman was returning home and forced her to give him the front-door key, Marvin Schulte said. The man pushed the woman aside, shoved the children into the house and locked the door. Neighbors said the man lived in the area.

Police sharpshooters and other officers quickly surrounded the home, and other officers established contact with him by telephone, said Joerg Blaszyk, a police spokesman.

The man will likely be remanded to a psychiatric hospital for treatment, Rahmer said.