A 19-year-old Jersey City man who has been out of prison for less than a month has been charged with shooting a man five times and a second man once on Saturday, officials said.

Deandre Thomas of Ocean Avenue was informed his bail is set at $500,000 cash or bond when he made his first court appearance on the charges stemming from the shooting in the Booker T. Washington housing complex at around 11:30 p.m.

He is charged with attempted murder, two counts of aggravated assault, armed robbery in connection to a third victim, and numerous weapons offenses including possession of a firearm by a felon, the criminal complaints say.

In the shooting, a 23-year-old Newark man was shot in the neck, chin, right side, back and twice in the left side, the criminal complaint says. A 25-year-old Jersey City man was shot once in the upper left chest, the criminal complaint says.

Finally, he is charged with the armed robbery of a third man whose wallet containing $60 was stolen, the complaint says.

Both victims of gunfire were listed in stable condition after the shooting, police said.

The Newark man told police he had been shot outside and was unable to provide more information, according to reports. The Jersey City man told police he was talking to someone near the basketball court when he was shot by someone he didn't see, reports said.

The Jersey City man's sister told cops she was sitting at her kitchen table when she heard about six gunshots, and when she looked outside, she saw three men carrying silver handguns running from the scene, reports said.

When he was 15 years old in 2008, Thomas was charged as an adult with two counts of aggravated assault, authorities said. He was in prison from May 7, 2009 to April 30, 2012, according to state Department of Corrections records.

Thomas was identified through the statement of a witness and the witness' statement was corroborated by security video recovered by police, police reports said.

The defendant made his first court appearance on the charges in Central Judicial Processing court in Jersey City via video link from Hudson County jail.