Hundreds of police officers are gathered for a closed funeral for three Pennsylvania detectives shot and killed last week by a man who had been inside the home of a woman he was accused of stalking.

A motorcade brought the flag draped caskets for Northern York County Regional Police detectives Cody Michael Becker, Mark Edward Baker and Isaiah Emenheiser from a funeral home.

Riderless horses followed the hearses.

The service Thursday at Living Word Community Church in Red Lion was to follow a procession that brought the bodies of the slain detectives from a funeral home.

The detectives last week had gone to the home of the reported stalking victim.

They were immediately fired upon when they opened the woman's front door.

Autopsy results released this week indicated that all three officers died of multiple gunshot wounds.

A prosecutor said the stalking suspect, 24-year-old Matthew James Ruth, fired on the officers as they opened the door to the woman’s home.

The three were killed and two other officers were seriously wounded.

The stalking suspect died in the exchange of gunfire with police.

AP Video shot by Tassanee Vejpongsa