No person arrested upon such warrant shall be delivered over to the agent whom the executive authority demanding him shall have appointed to receive him unless he shall first be taken forthwith before a judge of a court of record in this State, who shall inform him of the demand made for his surrender and of the crime with which he is charged, and that he has the right to demand and procure legal counsel; and if the prisoner or his counsel shall state that he or they desire to test the legality of his arrest, the judge of such court of record shall fix a reasonable time to be allowed him within which to apply for a writ of habeas corpus. When such writ is applied for, notice thereof, and of the time and place of hearing thereon, shall be given to the prosecuting officer of the county in which the arrest is made and in which the accused is in custody, and to the said agent of the demanding state. (1937, c. 273, s. 10; 1973, c. 1286, s. 16.)

Terms Used In North Carolina General Statutes 15A-730

  • Arrest: Taking physical custody of a person by lawful authority.
  • Habeas corpus: A writ that is usually used to bring a prisoner before the court to determine the legality of his imprisonment. It may also be used to bring a person in custody before the court to give testimony, or to be prosecuted.
  • state: when applied to the different parts of the United States, shall be construed to extend to and include the District of Columbia and the several territories, so called; and the words "United States" shall be construed to include the said district and territories and all dependencies. See North Carolina General Statutes 12-3
  • Writ: A formal written command, issued from the court, requiring the performance of a specific act.