Two Cumberland County men were charged Saturday in the shooting of an Atlantic City police officer as he foiled an armed robbery near a casino parking deck, prosecutors said.

State Police arrested Martell Chisholm, 19, of Millville, and Demetrius Cross, 28, of Bridgeton, without incident, according to Acting Atlantic County Prosecutor Diane Ruberton. Both men face charges, including attempted murder, robbery and weapons offenses. A third suspect was shot by police and died on a nearby street.

Chisholm, Cross and Jerome Damon were robbing a group of three other men near the Caesars casino Atlantic City parking lot on Arkansas Avenue around 2:30 a.m. Saturday when two uniformed city officers spotted the holdup and intervened, Ruberton said.

One officer was shot immediately after he got out of the marked patrol car, the prosecutor added. His partner returned fire and hit Damon. Both the alleged robbers and the others scattered in different directions.

Police discovered Damon, 25, of Camden, dead about a block away near Missouri and Pacific Avenues, according to authorities. Chisholm and Cross escaped and law enforcement officers from around the region launched a manhunt.

The wounded officer, who was not identified, underwent surgery and remained in critical condition, according to a statement from the prosecutor Saturday night.

Authorities released video footage showing two groups of three men, but said one group was later identified as the robbery victims. The other three were identified as Chisholm Cross and Damon, officials said.

The robbery victims cooperated with investigators and were released, the prosecutor added.

“These charges are the result of an unprecedented effort by law enforcement from local, county, state and federal agencies who worked tirelessly throughout the day to identify and locate the suspects,” Ruberton said in a statement.

State troopers captured Chisholm in Bridgeton and Cross in Millville, according to authorities. The prosecutor’s office worked with the FBI, Attorney General’s Office, State Police and neighboring police departments in the probe.

The gunfire was the second shooting to occur in Atlantic City’s main tourist district since Thursday. In that incident, Luis Maisonet, 55, of Somers Point, allegedly shot and killed Christopher Romero, 26, of Absecon, at the The Walk outlet mall in what authorities described as a domestic-related killing.