The Father's Day Doylestown shooting ended peacefully.

Richard Klementovich, an off-duty policeman from Clifton, N.J., surrendered to negotiators after a 10-hour standoff in which he barricaded himself in the home of his estranged wife and fired multiple shots at the police, according to NBC New York.

Klementovich, 42, was taken into custody late Sunday night and faces 13 counts of attempted homicide.

Shortly before 2:00 p.m. on Sunday, police were called to the Doylestown home for a dispute between neighbors. When they arrived, Klementovich, who was alone in the home, began firing at them with a high-powered rifle.

Soon, the neighborhood was filled with police cars and SWAT vans, including one from Clifton, according to the Philadelphia Inquirer. Residents in nearby homes were told to either evacuate or stay in their basements.

During the standoff, one police officer was hit in the face with shrapnel. He was taken to the hospital and released later in the day, according to NJ.com.

It remains unclear what Klementovich's motive for the shooting was. However, neighbors say he was involved in a bitter divorce with his wife and had threatened to kill himself, reported the Inquirer.

The Clifton policeman, father of two, is a U.S. Army veteran who served during the Persian Gulf War. A day before the shooting, he posted an album of nearly 40 photos of his military service on Facebook, reported NJ.com.