{"formats":[{"name":"JSON","format":"json","url":"\/downloads\/2025\/code-json\/8.01-654.json"},{"name":"Plain Text","format":"text","url":"\/downloads\/2025\/code-text\/8.01-654.txt"},{"name":"XML","format":"xml","url":"\/downloads\/2025\/code-xml\/8.01-654.xml"},{"name":"HTML","format":"html","url":"\/downloads\/2025\/code-html\/8.01-654.html"}],"law_id":78584,"edition_id":1,"section_id":78584,"structure_id":14200,"section_number":"8.01-654","catch_line":"When and where petition filed; what petition to contain","history":"Code 1950, \u00a7 8-596; 1958, c. 215; 1968, c. 487; 1977, c. 617; 1978, c. 124; 1995, c. 503; 1998, c. 577; 2005, c. 836; 2019, cc. 8, 48; 2021, Sp. Sess. I, cc. 344, 345.","full_text":"A\n\n1. A petition for a writ of habeas corpus ad subjiciendum may be filed in the Supreme Court or any circuit court showing by affidavits or other evidence that the petitioner is detained without lawful authority.2\n\nA petition for writ of habeas corpus ad subjiciendum, other than a petition challenging a criminal conviction or sentence, shall be brought within one year after the cause of action accrues. A habeas corpus petition attacking a criminal conviction or sentence shall be filed within two years from the date of final judgment in the trial court or within one year from either final disposition of the direct appeal in state court or the time for filing such appeal has expired, whichever is later.B\n\n1. With respect to any such petition filed by a petitioner whose detention originated under criminal process, and subject to the provisions of \u00a7 17.1-310, only the circuit court that entered the original judgment or order resulting in the detention complained of in the petition shall have authority to issue writs of habeas corpus. If a district court entered the original judgment or order resulting in the detention complained of in the petition, only the circuit court for the city or county wherein the district court sits shall have authority to issue writs of habeas corpus. Hearings on such petition, where granted in the circuit court, may be held at any circuit court within the same circuit as the circuit court in which the petition was filed, as designated by the judge thereof.2\n\nSuch petition shall contain all allegations the facts of which are known to petitioner at the time of filing and such petition shall enumerate all previous applications and their disposition. No writ shall be granted on the basis of any allegation the facts of which petitioner had knowledge at the time of filing any previous petition. The provisions of this section shall not apply to a petitioner&#8217;s first petition for a writ of habeas corpus when the sole allegation of such petition is that the petitioner was deprived of the right to pursue an appeal from a final judgment of conviction or probation revocation, except that such petition shall contain all facts pertinent to the denial of appeal that are known to the petitioner at the time of the filing, and such petition shall certify that the petitioner has filed no prior habeas corpus petitions attacking the conviction or probation revocation.3\n\nSuch petition may allege detention without lawful authority through challenge to a conviction, although the sentence imposed for such conviction is suspended or is to be served subsequently to the sentence currently being served by petitioner.4\n\nIn the event the allegations of illegality of the petitioner&#8217;s detention can be fully determined on the basis of recorded matters, the court may make its determination whether such writ should issue on the basis of the record.5\n\nThe court shall give findings of fact and conclusions of law following a determination on the record or after hearing, to be made a part of the record and transcribed.6\n\nIf petitioner alleges as a ground for illegality of his detention the inadequacy of counsel, he shall be deemed to waive his privilege with respect to communications between such counsel and himself to the extent necessary to permit a full and fair hearing for the alleged ground.","order_by":null,"text":{"0":{"id":281616,"text":"1. A petition for a writ of habeas corpus ad subjiciendum may be filed in the Supreme Court or any circuit court showing by affidavits or other evidence that the petitioner is detained without lawful authority.","type":"section","prefixes":["A"],"prefix":"A","entire_prefix":"A","prefix_anchor":"A","level":1,"next_prefix":"A2"},"1":{"id":281617,"text":"A petition for writ of habeas corpus ad subjiciendum, other than a petition challenging a criminal conviction or sentence, shall be brought within one year after the cause of action accrues. A habeas corpus petition attacking a criminal conviction or sentence shall be filed within two years from the date of final judgment in the trial court or within one year from either final disposition of the direct appeal in state court or the time for filing such appeal has expired, whichever is later.","type":"section","prefixes":["A","2"],"prefix":"2","entire_prefix":"A2","prefix_anchor":"A2","level":2,"prior_prefix":"A","next_prefix":"B"},"2":{"id":281618,"text":"1. With respect to any such petition filed by a petitioner whose detention originated under criminal process, and subject to the provisions of \u00a7 17.1-310, only the circuit court that entered the original judgment or order resulting in the detention complained of in the petition shall have authority to issue writs of habeas corpus. If a district court entered the original judgment or order resulting in the detention complained of in the petition, only the circuit court for the city or county wherein the district court sits shall have authority to issue writs of habeas corpus. Hearings on such petition, where granted in the circuit court, may be held at any circuit court within the same circuit as the circuit court in which the petition was filed, as designated by the judge thereof.","type":"section","prefixes":["B"],"prefix":"B","entire_prefix":"B","prefix_anchor":"B","level":1,"prior_prefix":"A2","next_prefix":"B2"},"3":{"id":281619,"text":"Such petition shall contain all allegations the facts of which are known to petitioner at the time of filing and such petition shall enumerate all previous applications and their disposition. No writ shall be granted on the basis of any allegation the facts of which petitioner had knowledge at the time of filing any previous petition. The provisions of this section shall not apply to a petitioner&#8217;s first petition for a writ of habeas corpus when the sole allegation of such petition is that the petitioner was deprived of the right to pursue an appeal from a final judgment of conviction or probation revocation, except that such petition shall contain all facts pertinent to the denial of appeal that are known to the petitioner at the time of the filing, and such petition shall certify that the petitioner has filed no prior habeas corpus petitions attacking the conviction or probation revocation.","type":"section","prefixes":["B","2"],"prefix":"2","entire_prefix":"B2","prefix_anchor":"B2","level":2,"prior_prefix":"B","next_prefix":"B3"},"4":{"id":281620,"text":"Such petition may allege detention without lawful authority through challenge to a conviction, although the sentence imposed for such conviction is suspended or is to be served subsequently to the sentence currently being served by petitioner.","type":"section","prefixes":["B","3"],"prefix":"3","entire_prefix":"B3","prefix_anchor":"B3","level":2,"prior_prefix":"B2","next_prefix":"B4"},"5":{"id":281621,"text":"In the event the allegations of illegality of the petitioner&#8217;s detention can be fully determined on the basis of recorded matters, the court may make its determination whether such writ should issue on the basis of the record.","type":"section","prefixes":["B","4"],"prefix":"4","entire_prefix":"B4","prefix_anchor":"B4","level":2,"prior_prefix":"B3","next_prefix":"B5"},"6":{"id":281622,"text":"The court shall give findings of fact and conclusions of law following a determination on the record or after hearing, to be made a part of the record and transcribed.","type":"section","prefixes":["B","5"],"prefix":"5","entire_prefix":"B5","prefix_anchor":"B5","level":2,"prior_prefix":"B4","next_prefix":"B6"},"7":{"id":281623,"text":"If petitioner alleges as a ground for illegality of his detention the inadequacy of counsel, he shall be deemed to waive his privilege with respect to communications between such counsel and himself to the extent necessary to permit a full and fair hearing for the alleged ground.","type":"section","prefixes":["B","6"],"prefix":"6","entire_prefix":"B6","prefix_anchor":"B6","level":2,"prior_prefix":"B5"}},"ancestry":[{"id":14200,"edition_id":1,"name":"Habeas Corpus","identifier":"3","label":"article","depth":3,"order_by":1,"parent_id":13114,"metadata":{},"date_created":"2026-06-26 03:47:15","date_modified":"2026-06-26 03:47:15","permalink":{"id":279393,"object_type":"structure","relational_id":14200,"identifier":"3","token":"8.01\/25\/3","url":"\/8.01\/25\/3\/","edition_id":1,"permalink":0,"preferred":1}},{"id":13114,"edition_id":1,"name":"Extraordinary Writs","identifier":"25","label":"chapter","depth":2,"order_by":1,"parent_id":12747,"metadata":{},"date_created":"2026-06-26 03:44:18","date_modified":"2026-06-26 03:44:18","permalink":{"id":279303,"object_type":"structure","relational_id":13114,"identifier":"25","token":"8.01\/25","url":"\/8.01\/25\/","edition_id":1,"permalink":0,"preferred":1}},{"id":12747,"edition_id":1,"name":"Civil Remedies and Procedure","identifier":"8.01","label":"title","depth":1,"order_by":1,"parent_id":null,"metadata":{},"date_created":"2026-06-26 03:43:51","date_modified":"2026-06-26 03:43:51","permalink":{"id":277029,"object_type":"structure","relational_id":12747,"identifier":"8.01","token":"8.01","url":"\/8.01\/","edition_id":1,"permalink":0,"preferred":1}}],"structure_contents":[{"id":78584,"structure_id":14200,"section_number":"8.01-654","catch_line":"When and where petition filed; what petition to contain","url":"\/8.01-654\/","token":"8.01\/25\/3\/8.01-654","metadata":false},{"id":82446,"structure_id":14200,"section_number":"8.01-654.1","catch_line":"Repealed","url":"\/8.01-654.1\/","token":"8.01\/25\/3\/8.01-654.1","metadata":false},{"id":72698,"structure_id":14200,"section_number":"8.01-655","catch_line":"Form and contents of petition filed by prisoner","url":"\/8.01-655\/","token":"8.01\/25\/3\/8.01-655","metadata":false},{"id":66705,"structure_id":14200,"section_number":"8.01-656","catch_line":"Repealed","url":"\/8.01-656\/","token":"8.01\/25\/3\/8.01-656","metadata":false},{"id":85015,"structure_id":14200,"section_number":"8.01-658","catch_line":"When and from whom response required; dismissal of habeas petition without prejudice","url":"\/8.01-658\/","token":"8.01\/25\/3\/8.01-658","metadata":false},{"id":79457,"structure_id":14200,"section_number":"8.01-659","catch_line":"Repealed","url":"\/8.01-659\/","token":"8.01\/25\/3\/8.01-659","metadata":false},{"id":60622,"structure_id":14200,"section_number":"8.01-660","catch_line":"When affidavits may be read","url":"\/8.01-660\/","token":"8.01\/25\/3\/8.01-660","metadata":false},{"id":55387,"structure_id":14200,"section_number":"8.01-661","catch_line":"Facts proved may be made part of record","url":"\/8.01-661\/","token":"8.01\/25\/3\/8.01-661","metadata":false},{"id":65457,"structure_id":14200,"section_number":"8.01-662","catch_line":"Judgment of court or judge trying it; payment of costs and expenses when petition denied","url":"\/8.01-662\/","token":"8.01\/25\/3\/8.01-662","metadata":false},{"id":77099,"structure_id":14200,"section_number":"8.01-663","catch_line":"Judgment conclusive","url":"\/8.01-663\/","token":"8.01\/25\/3\/8.01-663","metadata":false},{"id":57877,"structure_id":14200,"section_number":"8.01-664","catch_line":"How and when Supreme Court summoned to try appeal therefrom","url":"\/8.01-664\/","token":"8.01\/25\/3\/8.01-664","metadata":false},{"id":63094,"structure_id":14200,"section_number":"8.01-665","catch_line":"When execution of judgment suspended; when prisoner admitted to bail","url":"\/8.01-665\/","token":"8.01\/25\/3\/8.01-665","metadata":false},{"id":83962,"structure_id":14200,"section_number":"8.01-666","catch_line":"When and by whom writs of habeas corpus ad testificandum granted","url":"\/8.01-666\/","token":"8.01\/25\/3\/8.01-666","metadata":false},{"id":64450,"structure_id":14200,"section_number":"8.01-667","catch_line":"Transmission of records to federal court","url":"\/8.01-667\/","token":"8.01\/25\/3\/8.01-667","metadata":false},{"id":61133,"structure_id":14200,"section_number":"8.01-668","catch_line":"Writ de homine abolished","url":"\/8.01-668\/","token":"8.01\/25\/3\/8.01-668","metadata":false}],"next_section":{"id":82446,"structure_id":14200,"section_number":"8.01-654.1","catch_line":"Repealed","url":"\/8.01-654.1\/","token":"8.01\/25\/3\/8.01-654.1","metadata":false},"metadata":false,"official_url":"https:\/\/law.lis.virginia.gov\/vacode\/8.01-654\/","history_text":"<p>The record of this law\u2019s original creation isn\u2019t available online. It has been modified 8 times. Those modifications are cataloged by \u201cThe Acts of Assembly,\u201d a state publication, by year and chapter. Those modifications that can be read on the General Assembly\u2019s website will be linked accordingly. Those modifications are as follows: in 1958, chapter 215; in 1968, chapter 487; in 1977, chapter 617; in 1978, chapter 124; in 1995, chapter <a href=\"https:\/\/legacylis.virginia.gov\/cgi-bin\/legp604.exe?951+ful+CHAP0503\">503<\/a>; in 1998, chapter <a href=\"https:\/\/legacylis.virginia.gov\/cgi-bin\/legp604.exe?981+ful+CHAP0577\">577<\/a>; in 2005, chapter <a href=\"https:\/\/legacylis.virginia.gov\/cgi-bin\/legp604.exe?051+ful+CHAP0836\">836<\/a>; in 2019, chapters <a href=\"https:\/\/legacylis.virginia.gov\/cgi-bin\/legp604.exe?191+ful+CHAP0008\">8<\/a> and <a href=\"https:\/\/legacylis.virginia.gov\/cgi-bin\/legp604.exe?191+ful+CHAP0048\">48<\/a>.<\/p>","references":[{"id":58641,"section_number":"2.2-5517","catch_line":"Use of automatic license plate recognition systems by law-enforcement agencies","order_by":null,"url":"\/2.2-5517\/"},{"id":59524,"section_number":"8.01-407","catch_line":"How summons for witness issued and to whom directed; how witness released from subpoena; prior permission of court to summon certain officials and judges","order_by":null,"url":"\/8.01-407\/"}],"refers_to":[{"id":70980,"section_number":"17.1-310","catch_line":"Habeas corpus, appeals, writs of error and supersedeas","order_by":null,"url":"\/17.1-310\/"}],"permalink":{"id":279395,"object_type":"law","relational_id":78584,"identifier":"8.01-654","token":"8.01\/25\/3\/8.01-654","url":"\/8.01-654\/","edition_id":1,"permalink":0,"preferred":1},"url":"\/8.01-654\/","token":"8.01\/25\/3\/8.01-654","dublin_core":{"Title":"When and where petition filed; what petition to contain","Type":"Text","Format":"text\/html","Identifier":"\u00a7 8.01-654","Relation":"Code of Virginia"},"html":"\n\t\t\t\t\t\t<section id=\"A\"><p><span class=\"prefix-number\">A.<\/span> 1. A <span class=\"dictionary\">petition<\/span> for a <span class=\"dictionary\">writ<\/span> of <span class=\"dictionary\">habeas corpus<\/span> ad subjiciendum may be filed in the Supreme <span class=\"dictionary\">Court<\/span> or any <span class=\"dictionary\">circuit<\/span> <span class=\"dictionary\">court<\/span> showing by <span class=\"dictionary\">affidavits<\/span> or other <span class=\"dictionary\">evidence<\/span> that the petitioner is detained without lawful authority. <a id=\"paragraph-281616\" class=\"section-permalink\" href=\"https:\/\/vacode.org\/8.01-654\/#A\"><i class=\"fa fa-link\"><\/i><\/a><\/p><\/section>\n\t\t\t\t\t\t<section id=\"A2\" class=\"indent-1\"><p><span class=\"prefix-number\">2.<\/span> A <span class=\"dictionary\">petition<\/span> for <span class=\"dictionary\">writ<\/span> of <span class=\"dictionary\">habeas corpus<\/span> ad subjiciendum, other than a <span class=\"dictionary\">petition<\/span> challenging a criminal <span class=\"dictionary\">conviction<\/span> or sentence, shall be brought within one year after the <span class=\"dictionary\">cause of action<\/span> accrues. A <span class=\"dictionary\">habeas corpus<\/span> <span class=\"dictionary\">petition<\/span> attacking a criminal <span class=\"dictionary\">conviction<\/span> or sentence shall be filed within two years from the date of final <span class=\"dictionary\">judgment<\/span> in the <span class=\"dictionary\">trial<\/span> <span class=\"dictionary\">court<\/span> or within one year from either final <span class=\"dictionary\">disposition<\/span> of the direct <span class=\"dictionary\">appeal<\/span> in state <span class=\"dictionary\">court<\/span> or the time for filing such <span class=\"dictionary\">appeal<\/span> has expired, whichever is later. <a id=\"paragraph-281617\" class=\"section-permalink\" href=\"https:\/\/vacode.org\/8.01-654\/#A2\"><i class=\"fa fa-link\"><\/i><\/a><\/p><\/section>\n\t\t\t\t\t\t<section id=\"B\"><p><span class=\"prefix-number\">B.<\/span> 1. With respect to any such <span class=\"dictionary\">petition<\/span> filed by a petitioner whose detention originated under criminal process, and subject to the provisions of \u00a7&nbsp;<a class=\"law\" title=\"Habeas corpus, appeals, writs of error and supersedeas\" href=\"\/17.1-310\/\">17.1-310<\/a>, only the <span class=\"dictionary\">circuit<\/span> <span class=\"dictionary\">court<\/span> that entered the original <span class=\"dictionary\">judgment<\/span> or <span class=\"dictionary\">order<\/span> resulting in the detention complained of in the <span class=\"dictionary\">petition<\/span> shall have authority to <span class=\"dictionary\">issue<\/span> <span class=\"dictionary\">writs<\/span> of <span class=\"dictionary\">habeas corpus<\/span>. If a district <span class=\"dictionary\">court<\/span> entered the original <span class=\"dictionary\">judgment<\/span> or <span class=\"dictionary\">order<\/span> resulting in the detention complained of in the <span class=\"dictionary\">petition<\/span>, only the <span class=\"dictionary\">circuit<\/span> <span class=\"dictionary\">court<\/span> for the city or county wherein the district <span class=\"dictionary\">court<\/span> sits shall have authority to <span class=\"dictionary\">issue<\/span> <span class=\"dictionary\">writs<\/span> of <span class=\"dictionary\">habeas corpus<\/span>. <span class=\"dictionary\">Hearings<\/span> on such <span class=\"dictionary\">petition<\/span>, where granted in the <span class=\"dictionary\">circuit<\/span> <span class=\"dictionary\">court<\/span>, may be held at any <span class=\"dictionary\">circuit<\/span> <span class=\"dictionary\">court<\/span> within the same <span class=\"dictionary\">circuit<\/span> as the <span class=\"dictionary\">circuit<\/span> <span class=\"dictionary\">court<\/span> in which the <span class=\"dictionary\">petition<\/span> was filed, as designated by the <span class=\"dictionary\">judge<\/span> thereof. <a id=\"paragraph-281618\" class=\"section-permalink\" href=\"https:\/\/vacode.org\/8.01-654\/#B\"><i class=\"fa fa-link\"><\/i><\/a><\/p><\/section>\n\t\t\t\t\t\t<section id=\"B2\" class=\"indent-1\"><p><span class=\"prefix-number\">2.<\/span> Such <span class=\"dictionary\">petition<\/span> shall contain all <span class=\"dictionary\">allegations<\/span> the <span class=\"dictionary\">facts<\/span> of which are known to petitioner at the time of filing and such <span class=\"dictionary\">petition<\/span> shall enumerate all previous applications and their <span class=\"dictionary\">disposition<\/span>. No <span class=\"dictionary\">writ<\/span> shall be granted on the basis of any <span class=\"dictionary\">allegation<\/span> the <span class=\"dictionary\">facts<\/span> of which petitioner had knowledge at the time of filing any previous <span class=\"dictionary\">petition<\/span>. The provisions of this section shall not apply to a petitioner&#8217;s first <span class=\"dictionary\">petition<\/span> for a <span class=\"dictionary\">writ<\/span> of <span class=\"dictionary\">habeas corpus<\/span> when the sole <span class=\"dictionary\">allegation<\/span> of such <span class=\"dictionary\">petition<\/span> is that the petitioner was deprived of the right to pursue an <span class=\"dictionary\">appeal<\/span> from a final <span class=\"dictionary\">judgment<\/span> of <span class=\"dictionary\">conviction<\/span> or <span class=\"dictionary\">probation<\/span> <span class=\"dictionary\">revocation<\/span>, except that such <span class=\"dictionary\">petition<\/span> shall contain all <span class=\"dictionary\">facts<\/span> pertinent to the denial of <span class=\"dictionary\">appeal<\/span> that are known to the petitioner at the time of the filing, and such <span class=\"dictionary\">petition<\/span> shall certify that the petitioner has filed no prior <span class=\"dictionary\">habeas corpus<\/span> <span class=\"dictionary\">petitions<\/span> attacking the <span class=\"dictionary\">conviction<\/span> or <span class=\"dictionary\">probation<\/span> <span class=\"dictionary\">revocation<\/span>. <a id=\"paragraph-281619\" class=\"section-permalink\" href=\"https:\/\/vacode.org\/8.01-654\/#B2\"><i class=\"fa fa-link\"><\/i><\/a><\/p><\/section>\n\t\t\t\t\t\t<section id=\"B3\" class=\"indent-1\"><p><span class=\"prefix-number\">3.<\/span> Such <span class=\"dictionary\">petition<\/span> may allege detention without lawful authority through challenge to a <span class=\"dictionary\">conviction<\/span>, although the sentence imposed for such <span class=\"dictionary\">conviction<\/span> is suspended or is to be served subsequently to the sentence currently being served by petitioner. <a id=\"paragraph-281620\" class=\"section-permalink\" href=\"https:\/\/vacode.org\/8.01-654\/#B3\"><i class=\"fa fa-link\"><\/i><\/a><\/p><\/section>\n\t\t\t\t\t\t<section id=\"B4\" class=\"indent-1\"><p><span class=\"prefix-number\">4.<\/span> In the event the <span class=\"dictionary\">allegations<\/span> of illegality of the petitioner&#8217;s detention can be fully determined on the basis of recorded matters, the <span class=\"dictionary\">court<\/span> may make its determination whether such <span class=\"dictionary\">writ<\/span> should <span class=\"dictionary\">issue<\/span> on the basis of the record. <a id=\"paragraph-281621\" class=\"section-permalink\" href=\"https:\/\/vacode.org\/8.01-654\/#B4\"><i class=\"fa fa-link\"><\/i><\/a><\/p><\/section>\n\t\t\t\t\t\t<section id=\"B5\" class=\"indent-1\"><p><span class=\"prefix-number\">5.<\/span> The <span class=\"dictionary\">court<\/span> shall give <span class=\"dictionary\">findings<\/span> of <span class=\"dictionary\">fact<\/span> and conclusions of <span class=\"dictionary\">law<\/span> following a determination on the record or after <span class=\"dictionary\">hearing<\/span>, to be made a part of the record and transcribed. <a id=\"paragraph-281622\" class=\"section-permalink\" href=\"https:\/\/vacode.org\/8.01-654\/#B5\"><i class=\"fa fa-link\"><\/i><\/a><\/p><\/section>\n\t\t\t\t\t\t<section id=\"B6\" class=\"indent-1\"><p><span class=\"prefix-number\">6.<\/span> If petitioner alleges as a ground for illegality of his detention the inadequacy of <span class=\"dictionary\">counsel<\/span>, he shall be deemed to <span class=\"dictionary\">waive<\/span> his <span class=\"dictionary\">privilege<\/span> with respect to communications between such <span class=\"dictionary\">counsel<\/span> and himself to the extent necessary to permit a full and fair <span class=\"dictionary\">hearing<\/span> for the alleged ground. <a id=\"paragraph-281623\" class=\"section-permalink\" href=\"https:\/\/vacode.org\/8.01-654\/#B6\"><i class=\"fa fa-link\"><\/i><\/a><\/p><\/section>","plain_text":"                                 CODE OF VIRGINIA\n\nWHEN AND WHERE PETITION FILED; WHAT PETITION TO CONTAIN (\u00a7 8.01-654)\n\nA. 1. A petition for a writ of habeas corpus ad subjiciendum may be filed in the\nSupreme Court or any circuit court showing by affidavits or other evidence that\nthe petitioner is detained without lawful authority.\n\n   2. A petition for writ of habeas corpus ad subjiciendum, other than a petition\n   challenging a criminal conviction or sentence, shall be brought within one\n   year after the cause of action accrues. A habeas corpus petition attacking a\n   criminal conviction or sentence shall be filed within two years from the date\n   of final judgment in the trial court or within one year from either final\n   disposition of the direct appeal in state court or the time for filing such\n   appeal has expired, whichever is later.\n\nB. 1. With respect to any such petition filed by a petitioner whose detention\noriginated under criminal process, and subject to the provisions of \u00a7 17.1-310,\nonly the circuit court that entered the original judgment or order resulting in\nthe detention complained of in the petition shall have authority to issue writs\nof habeas corpus. If a district court entered the original judgment or order\nresulting in the detention complained of in the petition, only the circuit court\nfor the city or county wherein the district court sits shall have authority to\nissue writs of habeas corpus. Hearings on such petition, where granted in the\ncircuit court, may be held at any circuit court within the same circuit as the\ncircuit court in which the petition was filed, as designated by the judge\nthereof.\n\n   2. Such petition shall contain all allegations the facts of which are known to\n   petitioner at the time of filing and such petition shall enumerate all\n   previous applications and their disposition. No writ shall be granted on the\n   basis of any allegation the facts of which petitioner had knowledge at the\n   time of filing any previous petition. The provisions of this section shall not\n   apply to a petitioner&#8217;s first petition for a writ of habeas corpus when\n   the sole allegation of such petition is that the petitioner was deprived of\n   the right to pursue an appeal from a final judgment of conviction or probation\n   revocation, except that such petition shall contain all facts pertinent to the\n   denial of appeal that are known to the petitioner at the time of the filing,\n   and such petition shall certify that the petitioner has filed no prior habeas\n   corpus petitions attacking the conviction or probation revocation.\n\n   3. Such petition may allege detention without lawful authority through\n   challenge to a conviction, although the sentence imposed for such conviction\n   is suspended or is to be served subsequently to the sentence currently being\n   served by petitioner.\n\n   4. In the event the allegations of illegality of the petitioner&#8217;s\n   detention can be fully determined on the basis of recorded matters, the court\n   may make its determination whether such writ should issue on the basis of the\n   record.\n\n   5. The court shall give findings of fact and conclusions of law following a\n   determination on the record or after hearing, to be made a part of the record\n   and transcribed.\n\n   6. If petitioner alleges as a ground for illegality of his detention the\n   inadequacy of counsel, he shall be deemed to waive his privilege with respect\n   to communications between such counsel and himself to the extent necessary to\n   permit a full and fair hearing for the alleged ground.\n\nHISTORY: Code 1950, \u00a7 8-596; 1958, c. 215; 1968, c. 487; 1977, c. 617; 1978, c.\n124; 1995, c. 503; 1998, c. 577; 2005, c. 836; 2019, cc. 8, 48; 2021, Sp. Sess.\nI, cc. 344, 345.","edition":{"id":1,"name":"2025","slug":"2025","date_created":"2026-06-21 22:39:22","date_modified":"2026-06-21 22:39:22","current":1,"order_by":1,"last_import":null}}