A self-proclaimed bounty hunter who is a sworn Boston constable opened fire on city police officers responding to a domestic dispute Wednesday night, critically wounding two of them.

Officers shot and killed the gunman, identified as 33-year-old Kirk Figueroa, who was wearing body armor and armed with a tactical shotgun.

Police Commissioner William Evans said Thursday during a news conference that he remains hopeful that the two officers — identified as Richard Cintolo and Matthew Morris — would make a “full recovery.”

Evans and Mayor Marty Walsh visited the officers last night at Massachusetts General Hospital, he said.

“Please keep them in your prayers,” Evans said.

The two men were part of a group of officers responding to a domestic disturbance on Gladstone Street just before 11 p.m. Wednesday night. Two roommates were arguing, with one reportedly in possession of a gun.

When officers arrived, police said a resident told them that his roommate threatened him with a large knife. As police entered the home, Figueroa emerged, wearing a bulletproof vest, and promptly opening fire, Evans said.

Figueroa shot Cintolo and Morris, while a second wave of officers entered the home and returned fire. Officers also pulled the two wounded officers to safety, Evans said.

Evans noted that a coincidence might have helped save Morris’ life: the officer who applied the tourniquet to his Morris’ wound had received his tourniquet training just last Thursday. Since the Boston Marathon bombings, all officers now carry tourniquets, he said.

“They just went to training this past Thursday,” Evans said. “Talk about a coincidence really paying off: this officer was there to apply the pressure...as an artery was severed. Thank god we were able to save the officer.”

Investigators said they could not yet comment or speculate on why Figueroa opened fire on the officers.

Figueroa was approved to be a constable by the police department, said Evans, describing the job as more of a document-delivery service than law enforcement one. He didn’t have a license to carry a weapon.

The Boston Globe reported that it was able to confirm that Figueroa is man behind ElitePolicing.org, a website purporting to be “the premier source for all of your security service needs including — security officers, bodyguards, close personal protection, security monitoring systems on-site or remote, and CCTV, among others.”

In a founder’s biography published on the site, Figueroa appears wearing a red beret and is described as a former member of the U.S. Army Reserve and an apprentice licensed private investigator in Florida.

He is also described as a “California bounty hunter” and “mixed martial arts practitioner, who has “established a fast turnaround time when meeting the demands of returning clients.”

The site has since been taken down for “some maintenance.”