John Munson/The Star-Ledger Former Mayor Sharpe James arrives with his wife Mary at Logan Hall, a halfway house in Newark, to serve out his sentence for federal fraud and conspiracy charges in this April 2010 file photo.

NEWARK — Former Newark Mayor Sharpe James appeared in Superior Court today to dispute two traffic violations he received, but ended up pleading guilty to one and having the other dismissed, the Essex County Prosecutor's Office said.

James represented himself in both matters this morning, both of which happened in Newark. He pleaded guilty to a moving violation, in which a traffic camera caught James' car running a red light outside the Prudential Center following an event there.

James said in court that his wife was driving the car when a traffic officer waived her through the intersection. Several other motorists were issued tickets for running a red light as well, according to Chief Assistant Prosecutor Keith Harvest.

James also received a parking ticket in front of Newark Penn Station. In exchange for the guilty plea, that ticket was dismissed, the prosecutor's office said.

James' case was heard in Superior Court and not municipal court, because of the potential conflict of interest with the municipal judges he had appointed. Superior Court Judge Peter Vazquez heard the case.