An escaped Pennsylvania jail inmate was arrested in Maine on Monday – eight months after he escaped – when the car he was riding in was pulled over for an expired registration, police said.

Derek Lee Black, 34, of Albion, Pennsylvania, had been originally jailed for possession of cocaine with intent to distribute in Erie, then was charged with violating parole. He was being held in a facility that provides substance abuse treatment. In March, he escaped from a hospital where he had been sent for treatment of a facial cut while incarcerated, police said.

Pennsylvania Crime Stoppers posted an alert after his escape, saying that Black has violent tendencies. He also was being sought by the U.S. Marshal’s Western Pennsylvania Fugitive Task Force.

At 4 a.m. Monday, Maine State Police Trooper Richard Maguire pulled over the car Black was riding in on the Maine Turnpike near the Ogunquit-Wells town line.

When the trooper asked Black his identity, he showed identification with a fake name, said state police Lt. Erik Baker, head of Troop G, which patrols the turnpike. The trooper determined the ID was a fake, Baker said.

The driver of the car, Mindy Baxter, 26, of Bangor, told the trooper she did not know her passenger’s full name. It wasn’t clear whether Baxter knew who Black was or how long the two had been riding together, Baker said. Police also do not know if Black has previous ties to Maine or how long he had been in the state.

Black was initially charged with failing to give his correct name and taken to York County Jail in Alfred. A fingerprint check done at the jail revealed his identity and that he had escaped from jail in Pennsylvania.

Police are making arrangements to return him to Pennsylvania to face charges of escape.

A Pennsylvania State Police spokesman at the Erie barracks could not be reached for comment about the case and a spokeswoman for Gateway Rehabilitation, which operates the program Black was assigned to, said confidentiality laws prevent the company from commenting about patients.

Baxter was issued a summons to appear in court on a traffic violation for allegedly driving without corrective lenses.