(FOX40.COM) — A man was fatally shot by an officer with the Stockton Police Department on Monday evening, according to police.

At 10 p.m., a man was reported to have tried to kick in the door before then climbing through the window of a building in the 1700 block of W Fremont Street.

The caller confronted the 34-year-old Stockton man who showed the caller what appeared to be a rifle tucked into his pants and then left eastbound onto Fremont Street.

The man was located by police hiding behind a bridge pillar in the area of N Pershing Avenue and W Fremont Street.

The man refused police orders and walked past the officers. He then stopped and turned toward police while pulling out what appeared to be a firearm from his pants.

Officer Marcos Alonso then shot at the man striking him at least once.

The officers waited for additional units to arrive before approaching the man. Medical aid was attempted by officers on the man until medical personnel arrived on scene and declared the man dead.

During their investigation, police said they determined the suspected weapon to be a replica firearm.

“The Stockton Police Department initiated a Multi-Agency Critical Incident Investigation with investigators from the San Joaquin County District Attorney’s Bureau of Investigations, the California Department of Justice, and the San Joaquin County Medical Examiner’s Office,” the police department wrote in a news release.

All of the officers on scene are reported to have been wearing body worn cameras that were activated during the time of the shooting.

All of the officers involved in the shooting have also been place on administrative leave.