A 28-year-old man surrendered to police after holding two children hostage in a home for several hours Friday morning.

The incident created extra concern for residents of the area because the incident occurred across the street from a day-care center and in the same neighborhood as an elementary school.The man exited the house about 11:30 a.m. with his hands over his head and walked toward Salt Lake County Sheriff Pete Hayward, who shook the man's hand and talked with him as they continued to walk away from the house to the county's mobile command post. There the two were joined by the man's wife, a deputy and another woman.

Hayward, at the request of the suspect, then ordered all news photographers away from the area.

About a half-hour before surrendering, the man released two young girls that officers believe are his daughters.

The terrified youngsters, about 2 and 4 years old, were screaming and crying as they walked from the house at 2896 S. 9150 West to where detectives snatched them up several houses away.

At about 11 a.m., the man exited the house and walked toward Hayward, then balked and ran back into the house after Hayward ordered him to put his hands up.

In the meantime, about 40 preschool- and kindergarten-age children were evacuated from the Magna Recreation Center across the street at 2941 S. 9150 West. Staff members inside the recreation center were requested to stay away from the windows.

Detective Kendra Herlin was also negotiating verbally with the man from the front yard of the house before he surrendered. He ordered her away when he first emerged with the children.

He also requested a marriage counselor before surrendering.

Before the tension was defused, officers were standing by with tear gas cartridges after hearing the man had an arsenal of rifles and handguns inside the house.