SAN DIEGO — San Diego police officers fatally shot a man suspected of robbing a Logan Heights liquor store Monday morning after police say he pulled out what they thought was a handgun.

Around 7:30 a.m., officers received a report that a man armed with a large knife had robbed Mullens Market and Liquor in the 3000 block of Imperial Avenue, police said. The man got away with an unknown amount of cash from the register.

When officers arrived, they found a man matching the description of the robber walking in the south alley of the 3100 block of Imperial Avenue, a block from the liquor store, police Lt. Andra Brown said in a news release. Two officers tried to contact him, but he reached inside his jacket, despite being told not to, Brown said.

The man pulled out a large knife and used his other hand to draw and point “what appeared to be a handgun” — which investigators later determined was an airsoft pellet pistol — at an officer, Brown said.

Three officers fired their weapons, striking the man multiple times. The man, described as in his 20s, was given first aid but died at the scene.

The three officers have not been publicly identified, though police say two of the officers were on assignment with the Neighborhood Policing Division and have been with the department for five and six years, respectively. The third officer is with the Central Division and has been with the department for almost seven years. They have been placed on administrative leave.