A man is facing charges after he allegedly allowed an inmate to pose as him so he could leave a Dartmouth prison last week.

Eliahs Knudsen Kent, 22, was wrongly released from the Central Nova Scotia Correctional Facility on Nov. 7 while being held on remand and awaiting trial.

Kent had been scheduled to appear in court this week on a long list of charges, including attempted murder, home invasion, robbery and using a firearm in the commission of an offence.

Police were notified that Kent had mistakenly been released from custody and they launched a search for the inmate.

He was arrested following a short pursuit in Spryfield the following afternoon.

Investigators have determined another inmate who was due to be released from prison on Nov. 7 allowed Kent to pose as him, enabling Kent to leave the facility.

Gregory Sheldon Spears, 30, appeared in Dartmouth provincial court Friday afternoon to face charges of permitting escape and breach of recognizance.

Kent now faces an additional charge of escaping lawful custody.

Nova Scotia has seen a number of mistakenly-released inmates in recent years. Eight prisoners were accidentally let out between 2007 and 2010, before a new reporting and release policy was put in place in 2011. The province has also seen three prisoners accidentally released ahead of schedule.

With files from CTVNews.ca