A man attempting to rob a north Phoenix drugstore was shot and killed by a customer Tuesday evening, police say.

The incident occurred about 6:30 p.m. at a Walgreens, Sgt. Jonathan Howard of the Phoenix Police Department told AZCentral.com.

"When they (officers) arrived, they found a scene that was full of chaos,'' he said.

Holguin had pulled out a gun and jumped the pharmacy counter, pointing the weapon at people and demanding oxycodone from the pharmacist, Howard said.

A customer who was in the store and armed with a gun shot Holguin, Howard said.