reglab/housing_qa huggingface dataset:
NC Gen Stat § 17-34 (2021)
2021 North Carolina General Statutes|Chapter 17 - Habeas Corpus|Article 6 - Proceedings and Judgment.|§ 17-34 - When party remanded.

 17-34. When party remanded.It is the duty of the court or judge forthwith to remand the party, if it appears that he is detained in custody, either -(1) By virtue of process issued by any court or judge of the United States, in a case where such court or judge has exclusive jurisdiction.(2) By virtue of the final judgment or decree of any competent court of civil or criminal jurisdiction, or of any execution issued upon such judgment or decree.(3) For any contempt specially and plainly charged in the commitment by some court, officer or body having authority to commit for the contempt so charged.(4) That the time during which such party may be legally detained has not expired. (1868-9, c. 116, s. 21; Code, s. 1646; Rev., s. 1848; C.S., s. 2236.)
NC Gen Stat § 17-35 (2021)
2021 North Carolina General Statutes|Chapter 17 - Habeas Corpus|Article 6 - Proceedings and Judgment.|§ 17-35 - When the party bailed or remanded.

 17-35. When the party bailed or remanded.If it appears that the party has been legally committed for any criminal offense, or if it appears by the testimony offered with the return of the writ, or upon the hearing thereof, that the party is guilty of such an offense, although the commitment is irregular, the court or judge shall proceed to let such party to bail, if the case is bailable and good bail is offered; if not, the court or judge shall forthwith remand such party to the custody or place him under the restraint from which he was taken, if the person or officer, under whose custody or restraint he was, is legally entitled thereto; if not so entitled, the court or judge shall commit such party to the custody of the officer or person legally entitled thereto. (1868-9, c. 116, s. 22; Code, s. 1647; Rev., s. 1849; C.S., s. 2237.)
NC Gen Stat § 17-36 (2021)
2021 North Carolina General Statutes|Chapter 17 - Habeas Corpus|Article 6 - Proceedings and Judgment.|§ 17-36 - Party held in execution not to be discharged.

 17-36. Party held in execution not to be discharged.When a writ of habeas corpus cum causa issues and the sheriff or other officer to whom it is directed returns upon the same that the prisoner is condemned, by judgment given against him, and held in custody by virtue of an execution issued against him, the prisoner shall not be let to bail but shall be presently remanded, where he shall remain until discharged in due course of law. (2 Hen. V, c. 2; R.C., c. 31, s. 111; Code, s. 937; Rev., s. 1850; C.S., s. 2238.)
NC Gen Stat § 17-37 (2021)
2021 North Carolina General Statutes|Chapter 17 - Habeas Corpus|Article 6 - Proceedings and Judgment.|§ 17-37 - When party ill, cause determined in his absence.

 17-37. When party ill, cause determined in his absence.When, from the illness or infirmity of the person directed to be produced by a writ of habeas corpus, such person cannot, without danger, be brought before the court or judge where the writ is made returnable, the party in whose custody he is may state the fact in his return to the writ; and if the court or judge is satisfied of the truth of the allegation, and the return is otherwise sufficient, the court or judge shall proceed to decide on such return and to dispose of the matter in the same manner as if the body had been produced. (1868-9, c. 116, s. 23; Code, s. 1648; Rev., s. 1851; C.S., s. 2239.)
NC Gen Stat § 17-38 (2021)
2021 North Carolina General Statutes|Chapter 17 - Habeas Corpus|Article 6 - Proceedings and Judgment.|§ 17-38 - No second committal after discharge; penalty.

 17-38. No second committal after discharge; penalty.No person who has been set at large upon any writ of habeas corpus shall be again imprisoned or detained for the same cause by any person whatsoever other than by the legal order or process of the court wherein he shall be bound by recognizance to appear or of any other court having jurisdiction in the case, under the penalty of two thousand five hundred dollars ($2,500) to the party aggrieved thereby. (1868-9, c. 116, s. 26; Code, s. 1651; Rev., s. 1852; C.S., s. 2240.)
NC Gen Stat § 17-41 (2021)
2021 North Carolina General Statutes|Chapter 17 - Habeas Corpus|Article 8 - Habeas Corpus Ad Testificandum.|§ 17-41 - Authority to issue the writ.

 17-41. Authority to issue the writ.Every court of record has power, upon the application of any party to any suit or proceeding, civil or criminal, pending in such court, to issue a writ of habeas corpus, for the purpose of bringing before the said court any prisoner who may be detained in any jail or prison within the State, for any cause, except a prisoner under sentence for a capital felony, to be examined as a witness in such suit or proceeding in behalf of the party making the application.Such writ of habeas corpus may be issued by any magistrate or clerk of the superior court, upon application as provided in this section, to bring any person confined in the jail or prison of the same county where such magistrate or clerk may reside, to be examined as a witness before such magistrate or clerk.In cases where the testimony of any prisoner is needed in a proceeding before a magistrate, or a clerk, and such person is confined in a county in which such magistrate or clerk does not reside, application for habeas corpus to testify may be made to any justice or judge of the General Court of Justice. (1868-9, c. 116, ss. 37, 38; Code, ss. 1663, 1664; Rev., ss. 1855, 1856; C.S., s. 2243; 1969, c. 44, s. 43; 1971, c. 528, s. 3.)
NC Gen Stat § 17-42 (2021)
2021 North Carolina General Statutes|Chapter 17 - Habeas Corpus|Article 8 - Habeas Corpus Ad Testificandum.|§ 17-42 - Contents of application.

 17-42. Contents of application.The application for the writ shall be made by the party to the suit or proceeding in which the writ is required, or by his agent or attorney. It must be verified by the applicant; and shall state-(1) The title and nature of the suit or proceeding in regard to which the testimony of such prisoner is desired.(2) That the testimony of such prisoner is material and necessary to such party on the trial or hearing of such suit or proceeding, as he is advised by counsel and verily believes. (1868-9, c. 116, s. 39; Code, s. 1665; Rev., s. 1857; C.S., s. 2244.)
NC Gen Stat § 17-43 (2021)
2021 North Carolina General Statutes|Chapter 17 - Habeas Corpus|Article 8 - Habeas Corpus Ad Testificandum.|§ 17-43 - Service of writ.

 17-43. Service of writ.The writ of habeas corpus to testify shall be served by the same person, and in like manner in all respects, and enforced by the court or officer issuing the same as prescribed in this Chapter for the service and enforcement of the writ of habeas corpus cum causa. (1868-9, c. 116, s. 40; Code, s. 1666; Rev., s. 1858; C.S., s. 2245.)
NC Gen Stat § 17-44 (2021)
2021 North Carolina General Statutes|Chapter 17 - Habeas Corpus|Article 8 - Habeas Corpus Ad Testificandum.|§ 17-44 - Applicant to pay expenses and give bond to return.

 17-44. Applicant to pay expenses and give bond to return.The service of the writ shall not be complete, however, unless the applicant for the same tenders to the person in whose custody the prisoner may be, if such person is a sheriff, coroner, or marshal, the fees and expenses allowed by law for bringing such prisoner, nor unless he also gives bond, with sufficient security, to such sheriff, coroner, or marshal, as the case may be, conditioned that such applicant will pay the charges of carrying back such prisoner. (1868-9, c. 116, s. 41; Code, s. 1667; Rev., s. 1859; C.S., s. 2246; 1971, c. 528, s. 4.)
NC Gen Stat § 17-45 (2021)
2021 North Carolina General Statutes|Chapter 17 - Habeas Corpus|Article 8 - Habeas Corpus Ad Testificandum.|§ 17-45 - Duty of officer to whom writ delivered or on whom served.

 17-45. Duty of officer to whom writ delivered or on whom served.It is the duty of the officer to whom the writ is delivered or upon whom it is served, whether such writ is directed to him or not, upon payment or tender of the charges allowed by law, and the delivery or tender of the bond herein prescribed, to obey and return such writ according to the exigency thereof upon pain, on refusal or neglect, to forfeit to the party on whose application the same has been issued the sum of five hundred dollars ($500.00). (1868-9, c. 116, s. 42; Code, s. 1668; Rev., s. 1860; C.S., s. 2247.)
NC Gen Stat § 17-46 (2021)
2021 North Carolina General Statutes|Chapter 17 - Habeas Corpus|Article 8 - Habeas Corpus Ad Testificandum.|§ 17-46 - Prisoner to be remanded.

 17-46. Prisoner to be remanded.After having testified, the prisoner shall be remanded to the prison from which he was taken. (1868-9, c. 116, s. 43; Code, s. 1669; Rev., s. 1861; C.S., s. 2248.)
NC Gen Stat § 17C-1 (2021)
2021 North Carolina General Statutes|Chapter 17C - North Carolina Criminal Justice Education and Training Standards Commission|Article 1 - General.|§ 17C-1 - Findings and policy.

 17C-1. Findings and policy.The General Assembly finds that the administration of criminal justice is of statewide concern, and that proper administration is important to the health, safety and welfare of the people of the State and is of such nature as to require education and training of a professional nature. It is in the public interest that such education and training be made available to persons who seek to become criminal justice officers, persons who are serving as such officers in a temporary or probationary capacity, and persons already in regular service.  (1971, c. 963, s. 1; 1979, c. 763, s. 1.)
NC Gen Stat § 17C-2 (2021)
2021 North Carolina General Statutes|Chapter 17C - North Carolina Criminal Justice Education and Training Standards Commission|Article 1 - General.|§ 17C-2 - Definitions.

 17C-2. Definitions.Unless the context clearly otherwise requires, the following definitions apply in this Article:(1) Commission. - The North Carolina Criminal Justice Education and Training Standards Commission.(2) Criminal justice agencies. - The State and local law-enforcement agencies, the State correctional agencies, other correctional agencies maintained by local governments, and the juvenile justice agencies, but shall not include deputy sheriffs, special deputy sheriffs, sheriffs' jailers, or other sheriffs' department personnel governed by the provisions of Chapter 17E of these General Statutes.(3) Criminal justice officers. - The administrative and subordinate personnel of all the departments, agencies, units or entities comprising the criminal justice agencies who are sworn law-enforcement officers, both State and local, with the power of arrest; State correctional officers; State probation/parole officers; State probation/parole officers-surveillance; officers, supervisory and administrative personnel of local confinement facilities; State juvenile justice officers; chief court counselors; and juvenile court counselors.(3a) Critical incident. - An incident involving any use of force by a law enforcement officer that results in death or serious bodily injury to a person.(4) Entry level. - The initial appointment or employment of any person by a criminal justice agency, or any appointment or employment of a person previously employed by a criminal justice agency who has not been employed by a criminal justice agency for the 12-month period preceding this appointment or employment, or any appointment or employment of a previously certified criminal justice officer to a position which requires a different type of certification.  (1971, c. 963, s. 2; 1979, c. 763, s. 1; 1983, c. 558, s. 2; c. 745, s. 2; 1989, c. 757, s. 1; 1989 (Reg. Sess., 1990), c. 1024, s. 4(a); 1997-503, s. 2; 2001-490, s. 1.1; 2018-5, s. 17.1(a); 2021-138, s. 3(a).)
NC Gen Stat § 17C-4 (2021)
2021 North Carolina General Statutes|Chapter 17C - North Carolina Criminal Justice Education and Training Standards Commission|Article 1 - General.|§ 17C-4 - Compensation.

 17C-4. Compensation.(a) Members of the Commission who are State officers or employees shall receive no compensation for serving on the Commission, but may be reimbursed for their expenses in accordance with G.S. 138-6. Members of the Commission who are full-time salaried public officers or employees other than State officers or employees shall receive no compensation for serving on the Commission, but may be reimbursed for their expenses in accordance with G.S. 138-5(b). All other members of the Commission may receive compensation and reimbursement for expenses in accordance with G.S. 138-5.(b) The Chairman of the Commission may appoint such ad hoc members of the Commission's standing and select committees as are necessary to carry out the business of the Commission, and such service shall be reimbursed as provided in G.S. 17C-4(a), subject to the approval of the Attorney General.  (1971, c. 963, s. 4; 1979, c. 763, s. 1; 1989, c. 757, s. 3; 2018-5, s. 17.1(a).)
NC Gen Stat § 17C-5 (2021)
2021 North Carolina General Statutes|Chapter 17C - North Carolina Criminal Justice Education and Training Standards Commission|Article 1 - General.|§ 17C-5 - Chairman; vice-chairman; other officers; meetings; reports.

 17C-5. Chairman; vice-chairman; other officers; meetings; reports.(a) The Commission shall elect one of the members of the Commission as Chairman at the first regular meeting after July 1 of each year. The ex officio members shall not be eligible for election as Chairman.(b) The Commission shall select a vice-chairman and such other officers and committee chairmen from among its members as it deems desirable at the first regular meeting of the Commission after its creation and at the first regular meeting after July 1 of each year thereafter. Nothing in this subsection, however, shall prevent the creation or abolition of committees or offices of the Commission, other than the office of vice-chairman, as the need may arise at any time during the year.(c) The Commission shall hold at least four regular meetings per year upon the call of the chairman. Special meetings shall be held upon the call of the chairman or the vice-chairman, or upon the written request of five members of the Commission. Such special meetings must be held within 30 days.(d) The Commission shall present regular and special reports and recommendations to the Attorney General or the General Assembly, or both, as the need may arise or as the Attorney General or General Assembly may request.  (1971, c. 963, s. 5; 1979, c. 763, s. 1; 1983, c. 807, s. 3; 2018-5, s. 17.1(a).)
NC Gen Stat § 17C-7 (2021)
2021 North Carolina General Statutes|Chapter 17C - North Carolina Criminal Justice Education and Training Standards Commission|Article 1 - General.|§ 17C-7 - Functions of the Department of Justice.

 17C-7. Functions of the Department of Justice.(a) The Attorney General shall provide such staff assistance as the Commission shall require in the performance of its duties.(b) The Attorney General shall have legal custody of all books, papers, documents, or other records and property of the Commission.(c) Any papers, documents, or other records which become the property of the Commission that are placed in the criminal justice officer's personnel file maintained by the Commission shall be subject to the same disclosure requirements as set forth in Chapters 126, 153A, and 160A of the General Statutes regarding the privacy of personnel records.  (1979, c. 763, s. 1; 1989, c. 757, s. 5; 2018-5, s. 17.1(a).)
NC Gen Stat § 17C-8 (2021)
2021 North Carolina General Statutes|Chapter 17C - North Carolina Criminal Justice Education and Training Standards Commission|Article 1 - General.|§ 17C-8 - System established.

 17C-8. System established.The North Carolina Criminal Justice Education and Training Standards Commission shall establish a North Carolina Criminal Justice Education and Training System. The system shall be a cooperative arrangement among criminal justice agencies, both State and local, and criminal justice education and training schools, both public and private, to provide education and training to the officers and employees of the criminal justice agencies of the State of North Carolina and its local governments. Members of the system shall include the North Carolina Justice Academy as well as such other public or private agencies or institutions within the State, that are engaged in criminal justice education and training, and desire to be affiliated with the system for the purpose of achieving greater coordination of criminal justice education and training efforts in North Carolina.  (1979, c. 763, s. 1; 2018-5, s. 17.1(a).)
NC Gen Stat § 17C-9 (2021)
2021 North Carolina General Statutes|Chapter 17C - North Carolina Criminal Justice Education and Training Standards Commission|Article 1 - General.|§ 17C-9 - Criminal Justice Standards Division of the Department of Justice established; appointment of director; duties.

 17C-9. Criminal Justice Standards Division of the Department of Justice established; appointment of director; duties.(a) There is hereby established, within the Department of Justice, the Criminal Justice Standards Division, hereinafter called "the Division," which shall be organized and staffed in accordance with applicable laws and regulations and within the limits of authorized appropriations.(b) The Attorney General shall appoint a director for the Division chosen from a list of three nominees submitted to him by the Commission who shall be responsible to and serve at the pleasure of the Attorney General and the Commission.(c) The Division shall administer such programs as are assigned to it by the Commission. The Division shall also administer such additional related programs as may be assigned to it by the Attorney General or the General Assembly. Administrative duties and responsibilities shall include, but are not limited to, the following:(1) Administering any and all programs assigned to the Division by the Commission and reporting any violations of or deviations from the rules and regulations of the Commission as the Commission may require;(2) Compiling data, developing reports, identifying needs and performing research relevant to beneficial improvement of the criminal justice agencies;(3) Developing new and revising existing programs for adoption consideration by the Commission;(4) Monitoring and evaluating programs of the Commission;(5) Providing technical assistance to relevant agencies of the criminal justice system to aid them in the discharge of program participation and responsibilities;(6) Disseminating information on Commission programs to concerned agencies and/or individuals;(7) Taking such other actions as may be deemed necessary or appropriate to carry out its assigned duties and responsibilities;(8) The director may divulge any information in the Division's personnel file of a criminal justice officer or applicant for certification to the head of the criminal justice agency employing the officer or considering the applicant for employment when the director deems it necessary and essential to the retention or employment of said officer or applicant. The information may be divulged whether or not such information was contained in a personnel file maintained by a State or by a local government agency.  (1979, c. 763, s. 1; 1983, c. 807, s. 4; 2018-5, s. 17.1(a).)
NC Gen Stat § 17C-11 (2021)
2021 North Carolina General Statutes|Chapter 17C - North Carolina Criminal Justice Education and Training Standards Commission|Article 1 - General.|§ 17C-11 - Compliance; enforcement.

 17C-11. Compliance; enforcement.(a) Any criminal justice officer who the Commission determines does not comply with this Article or any rules adopted under this Article shall not exercise the powers of a criminal justice officer and shall not exercise the power of arrest unless the Commission waives that certification or deficiency. The Commission shall enforce this section by the entry of appropriate orders effective upon service on either the criminal justice agency or the criminal justice officer.(a1) Any criminal justice training school, program, or course of instruction that the Commission determines does not comply with this Article, or any rules adopted under this Article, shall not continue to offer programs or courses of instruction unless the Commission waives that certification or deficiency. Any criminal justice instructor, school director, commission certified operator, and any commission certified instructor, who the Commission determines does not comply with this Article, or any rules adopted under this Article, shall not act as an instructor, school director, or operator unless the Commission waives that certification or deficiency. The Commission shall enforce this section by the entry of appropriate orders effective upon service on the criminal justice training school or the individual holding commission certification.(b) Any person who desires to appeal the proposed denial, suspension, or revocation of any certification authorized to be issued by the Commission shall file a written appeal with the Commission not later than 30 days following notice of denial, suspension, or revocation.(c) The Commission may appear in its own name and apply to courts having jurisdiction for injunctions to prevent violations of this Article or of rules issued pursuant thereto; specifically, the performance of criminal justice officer functions by officers or individuals who are not in compliance with the standards and requirements of G.S. 17C-6(a) and G.S. 17C-10. A single act of performance of a criminal justice officer function by an officer or individual who is performing such function in violation of this Article is sufficient, if shown, to invoke the injunctive relief of this section.  (1979, c. 763, s. 1; 1989, c. 757, s. 7; 2001-490, s. 1.3; 2009-546, s. 3; 2018-5, s. 17.1(a).)
NC Gen Stat § 17C-12 (2021)
2021 North Carolina General Statutes|Chapter 17C - North Carolina Criminal Justice Education and Training Standards Commission|Article 1 - General.|§ 17C-12 - Grants under the supervision of Commission and the State; donations and appropriations.

 17C-12. Grants under the supervision of Commission and the State; donations and appropriations.(a) The Commission may accept for any of its purposes and functions under this Article any and all donations, both real and personal, and grants of money from any governmental unit or public agency, or from any institution, person, firm or corporation, and may receive, utilize and dispose of the same. Any arrangements pursuant to this section shall be detailed in an annual report of the Commission. Such report shall include the identity of the donor, the nature of the transaction, and the conditions, if any. Any money received by the Commission pursuant to this section shall be deposited in the State Treasury to the account of the Commission.(b) The Commission may authorize the reimbursement to each political subdivision of the State not exceeding sixty percent (60%) of the salary and of the allowable tuition, living and travel expenses incurred by the officers in attendance at approved training programs, providing said political subdivisions do in fact adhere to the selection and training standards established by the Commission.(c) The Commission by rules and regulations, shall provide for administration of the grant program authorized by this section. In promulgating such rules, the Commission shall promote the most efficient and economical program of criminal justice training, including the maximum utilization of existing facilities and programs for the purpose of avoiding duplication.(d) The Commission may provide grants as a reimbursement for actual expenses incurred by the State or political subdivision thereof for the provisions of training programs of officers from other jurisdictions within the State.  (1971, c. 963, ss. 8, 9; 1979, c. 763, s. 1; 2018-5, s. 17.1(a).)