A man who fired shots inside a Farmingdale house was shot and killed by Maine State Police Saturday night.

Paul Fritze, 41, of Farmingdale was shot outside the home around 8:30 p.m., roughly four hours after police were called for a report of shots fired inside a home at 210 Bowman St., according to Maine State Police spokesman Steven McCausland.

Brenda Kielty, spokeswoman for the Maine Attorney General’s Office, which is investigating the shooting, did not know if Fritze died at the scene.

The state medical examiner is scheduled to perform an autopsy Monday.

Fritze, who lives down the street, went to the home for a birthday party, McCausland said.

Fritze started shooting at the occupants once inside the home, McCausland said.

The homeowners fled the house and called police.

Dozens of Maine State Police troopers and the State Police Tactical Team converged on the home.

Fritze emerged from the house and was confronted by the tactical team, Kielty said. Fritze was shot and killed by Trooper Timothy Black. Kielty was unable to confirm whether Black had been placed on paid administrative leave, though that is standard procedure after police-involved shootings.

The Attorney General’s Office investigates all shootings involving police.