Coram nobis
Coram nobis or coram vobis also known as error coram nobis or error coram vobis (from Latin quae coram nobis resident, or quae coram vobis resident, "which [things] remain in our presence", or "in your presence", respectively: the "things" referred to are the records of the original case.) is a legal writ issued by a court to correct a previous error "of the most fundamental character" to "achieve justice" where "no other remedy" is available. A petition for writ of error coram nobis is generally brought before the trial court, while a petition for writ of error coram vobis is brought before an appellate court. Both coram nobis and coram vobis differ from habeas corpus in that they do not have a custody requirement.
Purpose
United States
A coram nobis petition applies to persons who have already been convicted of a crime and have served their sentence. It may seek to remove probation requirements or restrictions, eliminate payment or obtain refund of court imposed fines, restore voting rights and gun ownership, improve employment and credit potential, remove a public stigma, and so forth, in order to restore, so far as possible, the erroneously convicted party to a pre-conviction state. Motions may be filed by heirs at law even after the convicted person is deceased.