A Honolulu police officer was shot and transported to the hospital in critical condition Monday afternoon.

It happened around 1:40 p.m. on Alta Street near Pokai Bay.

Police say the officer was in plain clothes and was investigating an armed robbery case that occurred over the weekend.

A suspect was also shot and was sent to the hospital.

Police say there are two people being detained at the residence as persons of interest.

It is not clear yet who fired first and how many shots were fired.

Police say both the officer and the suspect are in good condition.

“They arrived at the residence and the person of interest well they were let in,” said Major Joseph Trinidad. “The person of interest was in the back. A scuffle ensued, that’s when shots were fired.”

Maj. Trinidad said the police officer has been with HPD for at least five years.