NEWARK - A Jersey City man remains in jail for a crime he hasn't committed, despite police acknowledging that he is the wrong man.

The 23-year-old cab driver was first arrested in 2012 at his Jersey City apartment. On Father's Day, he was pulled over in Hoboken and arrested again, this time in front of his young brother.

The Essex County Prosecutor's Office says a home on Camden Street in Newark was robbed at gunpoint in February 2012.

Investigators identified a man named Anthony Berrera as a suspect. Police say Berrera uses another alias, Antonio Salvador. Authorities have acknowledged the mistake.

Judge Peter Ryan wrote and signed a letter as proof to officers that Salvador was not a wanted man.

The real Antonio Salvador was in court Thursday, and a judge issued his release. The family was set to celebrate, but he has not yet left the jail.