CRIMINAL PROCEDURE
CHAPTER 45
PROCEEDINGS AGAINST FUGITIVES FROM JUSTICE
19-4510. Rights of accused person -- Application for writ of habeas corpus. No person arrested upon such warrant shall be delivered over to the appointed agent for the executive authority demanding him unless he shall first be taken forthwith before a judge or magistrate 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; if the prisoner or his counsel shall state that he or they desire to test the legality of his arrest, the judge or magistrate 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.