An Omaha man who was being served with a removal and protection order was fatally shot by an officer when he confronted police at his door with a shotgun, police said.

The shooting happened around 2:30 p.m. Wednesday at an apartment complex in southwest Omaha, the Omaha Police Department said in a news release.

The release said two police officers were sent to help a Douglas County process server serve papers on Jacob Jamrozy, 39, who was thought to have shotguns for hunting inside the apartment. When officers knocked on his door, Jamrozy opened the door holding a shotgun, police said, and police shouted at him to drop it.

NEBRASKA DEATH ROW INMATE WHO FATALLY STRANGLED CELLMATE DIES

Omaha, Lincoln, Nebraska city news

A Nebraska man who pointed his shotgun at police was fatally shot at his home in Omaha.

NEBRASKA MEDICAL MARIJUANA PROPOSAL FAILS TO COLLECT ENOUGH SIGNATURES, WON'T MAKE NOVEMBER BALLOT

He instead raised the gun toward one of the officers, who shot him, police said. Jamrozy was declared dead at the scene, and his gun was recovered from the scene near the apartment door. Police said Jamrozy was alone in the apartment at the time of the shooting, and no officers were injured.

Police said there is video of the fatal confrontation from the body cameras of the two officers, who have been placed on paid administrative leave per department policy.

NEBRASKA CHILD DEAD FROM SUSPECTED BRAIN-EATING AMOEBA

The shooting is being investigated by the Omaha department's Officer Involved Investigations Team, as well as the Papillion Police Department and Sarpy County Sheriff’s Office.