[35]*35Mr. Justice Stewart
delivered the opinion of the Court.
When a member of the armed forces has applied for a discharge as a conscientious objector and has exhausted all avenues of administrative relief, it is now settled that he may seek habeas corpus relief in a federal district court on the ground that the denial of his application had no basis in fact. The question in this case is whether the district court must stay its hand when court-martial proceedings are pending against the serviceman.
The petitioner, Joseph Parisi, was inducted into the Army as a draftee in August 1968. Nine months later he applied for a discharge as a conscientious objector, claiming that earlier doubts about military service had crystallized into a firm conviction that any form of military activity conflicted irreconcilably with his religious beliefs. He was interviewed by the base chaplain, the base psychiatrist, and a special hearing officer. They all attested to the petitioner’s sincerity and to the religious content of his professed beliefs. In addition, the commanding general of the petitioner’s Army training center and the commander of the Army hospital recommended that the petitioner be discharged as a conscientious objector. His immediate commanding officer, an Army captain, disagreed, recommending disapproval of the application on the ground that the petitioner’s beliefs were based on essentially political, sociological, or philosophical views, or on a merely personal moral code.
In November 1969, the Department of the Army denied the petitioner conscientious objector status, on the grounds that his professed beliefs had become fixed prior to entering the service and that his opposition to war was not truly based upon his religious beliefs. On November 24, 1969, the petitioner applied to the Army Board for Correction of Military Records (hereafter [36]*36sometimes ABCMR) for administrative review of that determination.
Four days later the petitioner commenced the present habeas corpus proceeding in the United States District Court for the Northern District of California, claiming that the Army’s denial of his conscientious objector application was without basis in fact. He sought discharge from the Army and requested a preliminary injunction to prevent his transfer out of the jurisdiction of the District Court and to prohibit further training preparatory to being transferred to Vietnam. The District Court declined at that time to consider the merits of the habeas corpus petition, but it retained jurisdiction pending a decision by the ABCMR, and in the meantime enjoined Army authorities from requiring the petitioner to participate in activity or training beyond his current noncombatant duties.
Shortly thereafter the petitioner received orders to report to Fort Lewis, Washington, for deployment to Vietnam, where he was to perform noncombatant duties similar to those that had been assigned to him in this country. He sought a stay of this redeployment order pending appeal of the denial of habeas corpus, but his application was denied by the Court of Appeals, on the condition that the Army would produce him if the appeal should result in his favor. A similar stay application was subsequently denied by Mr. Justice Douglas as Ninth Circuit Justice, Parisi v. Davidson, 396 U. S. 1233. The petitioner then reported to Fort Lewis. He refused, however, to obey a military order to board a plane for Vietnam. As a result, he was charged with violating Art. 90 of the Uniform Code of Military Justice, 10 U. S. C. § 890, and, on April 8, 1970, a court-martial convicted him of that military offense.1
[37]*37While the court-martial charges were pending, the Army Board for Correction of Military Records notified the petitioner that it had rejected his application for relief from the Army’s denial of his conscientious objector application. The District Court then ordered the Army to show cause why the pending writ of habeas corpus should not issue. On the Government’s motion, the District Court, on March 31, 1970, entered an order deferring consideration of the habeas corpus petition until final determination of the criminal charge then pending in the military court system. The Court of Appeals for the Ninth Circuit affirmed this order, concluding that “habeas proceedings were properly stayed pending the final conclusion of Parisi’s military trial and his appeals therefrom,” 435 F. 2d 299, 302. We granted certiorari, 402 U. S. 942.
In affirming the stay of the petitioner’s federal habeas corpus proceeding until completion of the military courts’ action, the Court of Appeals relied on the related doctrines of exhaustion of alternative remedies and comity between the federal civilian courts and the military system of justice. We hold today that neither of these doctrines required a stay of the habeas corpus proceedings in this case.
With respect to available administrative remedies, there can be no doubt that the petitioner has fully met the demands of the doctrine of exhaustion — a doctrine that must be applied in each case with an “understanding of its purposes and of the particular administrative scheme involved.” McKart v. United States, 395 U. S. 185, 193. The basic purpose of the exhaustion doctrine is to allow an administrative agency to perform functions within its special competence — to make a factual record, to apply its expertise, and to correct its own errors so as to moot judicial controversies. Id., at 194-195; [38]*38McGee v. United States, 402 U. S. 479, 485; K. Davis, Administrative Law Treatise § 20.01 etseq. (Supp. 1970).
In this case the petitioner fully complied with Army Regulation 635-20, which dictates the procedures to be followed by a serviceman seeking classification as a conscientious objector on the basis of beliefs that develop after induction.2 Moreover, following a rule of the Ninth Circuit then in effect,3 he went further and appealed to the Army Board for Correction of Military Records.4 The procedures and corrective opportunities [39]*39of the military administrative apparatus had thus been wholly utilized at the time the District Court entered its order deferring consideration of the petitioner’s habeas corpus application.
It is clear, therefore, that, if the court-martial charge had not intervened, the District Court would have been wrong in not proceeding to an expeditious consideration of the merits of the petitioner’s claim. For the writ of habeas corpus has long been recognized as the appropriate remedy for servicemen who claim to be unlawfully retained in the armed forces. See, e. g., Eagles v. Samuels, 329 U. S. 304, 312; Oestereich v. Selective Service Board, 393 U. S. 233, 235; Schlanger v. Seamans, 401 U. S. 487, 489. And, as stated at the outset, that writ is available to consider the plea of an in-service applicant for discharge as a conscientious objector who claims that exhaustion of military administrative procedures has led only to a factually baseless denial of his application. In re Kelly, 401 F. 2d 211 (CA5); Hammond v. Lenfest, 398 F. 2d 705 (CA2).5
Free access — add to your briefcase to read the full text and ask questions with AI
[35]*35Mr. Justice Stewart
delivered the opinion of the Court.
When a member of the armed forces has applied for a discharge as a conscientious objector and has exhausted all avenues of administrative relief, it is now settled that he may seek habeas corpus relief in a federal district court on the ground that the denial of his application had no basis in fact. The question in this case is whether the district court must stay its hand when court-martial proceedings are pending against the serviceman.
The petitioner, Joseph Parisi, was inducted into the Army as a draftee in August 1968. Nine months later he applied for a discharge as a conscientious objector, claiming that earlier doubts about military service had crystallized into a firm conviction that any form of military activity conflicted irreconcilably with his religious beliefs. He was interviewed by the base chaplain, the base psychiatrist, and a special hearing officer. They all attested to the petitioner’s sincerity and to the religious content of his professed beliefs. In addition, the commanding general of the petitioner’s Army training center and the commander of the Army hospital recommended that the petitioner be discharged as a conscientious objector. His immediate commanding officer, an Army captain, disagreed, recommending disapproval of the application on the ground that the petitioner’s beliefs were based on essentially political, sociological, or philosophical views, or on a merely personal moral code.
In November 1969, the Department of the Army denied the petitioner conscientious objector status, on the grounds that his professed beliefs had become fixed prior to entering the service and that his opposition to war was not truly based upon his religious beliefs. On November 24, 1969, the petitioner applied to the Army Board for Correction of Military Records (hereafter [36]*36sometimes ABCMR) for administrative review of that determination.
Four days later the petitioner commenced the present habeas corpus proceeding in the United States District Court for the Northern District of California, claiming that the Army’s denial of his conscientious objector application was without basis in fact. He sought discharge from the Army and requested a preliminary injunction to prevent his transfer out of the jurisdiction of the District Court and to prohibit further training preparatory to being transferred to Vietnam. The District Court declined at that time to consider the merits of the habeas corpus petition, but it retained jurisdiction pending a decision by the ABCMR, and in the meantime enjoined Army authorities from requiring the petitioner to participate in activity or training beyond his current noncombatant duties.
Shortly thereafter the petitioner received orders to report to Fort Lewis, Washington, for deployment to Vietnam, where he was to perform noncombatant duties similar to those that had been assigned to him in this country. He sought a stay of this redeployment order pending appeal of the denial of habeas corpus, but his application was denied by the Court of Appeals, on the condition that the Army would produce him if the appeal should result in his favor. A similar stay application was subsequently denied by Mr. Justice Douglas as Ninth Circuit Justice, Parisi v. Davidson, 396 U. S. 1233. The petitioner then reported to Fort Lewis. He refused, however, to obey a military order to board a plane for Vietnam. As a result, he was charged with violating Art. 90 of the Uniform Code of Military Justice, 10 U. S. C. § 890, and, on April 8, 1970, a court-martial convicted him of that military offense.1
[37]*37While the court-martial charges were pending, the Army Board for Correction of Military Records notified the petitioner that it had rejected his application for relief from the Army’s denial of his conscientious objector application. The District Court then ordered the Army to show cause why the pending writ of habeas corpus should not issue. On the Government’s motion, the District Court, on March 31, 1970, entered an order deferring consideration of the habeas corpus petition until final determination of the criminal charge then pending in the military court system. The Court of Appeals for the Ninth Circuit affirmed this order, concluding that “habeas proceedings were properly stayed pending the final conclusion of Parisi’s military trial and his appeals therefrom,” 435 F. 2d 299, 302. We granted certiorari, 402 U. S. 942.
In affirming the stay of the petitioner’s federal habeas corpus proceeding until completion of the military courts’ action, the Court of Appeals relied on the related doctrines of exhaustion of alternative remedies and comity between the federal civilian courts and the military system of justice. We hold today that neither of these doctrines required a stay of the habeas corpus proceedings in this case.
With respect to available administrative remedies, there can be no doubt that the petitioner has fully met the demands of the doctrine of exhaustion — a doctrine that must be applied in each case with an “understanding of its purposes and of the particular administrative scheme involved.” McKart v. United States, 395 U. S. 185, 193. The basic purpose of the exhaustion doctrine is to allow an administrative agency to perform functions within its special competence — to make a factual record, to apply its expertise, and to correct its own errors so as to moot judicial controversies. Id., at 194-195; [38]*38McGee v. United States, 402 U. S. 479, 485; K. Davis, Administrative Law Treatise § 20.01 etseq. (Supp. 1970).
In this case the petitioner fully complied with Army Regulation 635-20, which dictates the procedures to be followed by a serviceman seeking classification as a conscientious objector on the basis of beliefs that develop after induction.2 Moreover, following a rule of the Ninth Circuit then in effect,3 he went further and appealed to the Army Board for Correction of Military Records.4 The procedures and corrective opportunities [39]*39of the military administrative apparatus had thus been wholly utilized at the time the District Court entered its order deferring consideration of the petitioner’s habeas corpus application.
It is clear, therefore, that, if the court-martial charge had not intervened, the District Court would have been wrong in not proceeding to an expeditious consideration of the merits of the petitioner’s claim. For the writ of habeas corpus has long been recognized as the appropriate remedy for servicemen who claim to be unlawfully retained in the armed forces. See, e. g., Eagles v. Samuels, 329 U. S. 304, 312; Oestereich v. Selective Service Board, 393 U. S. 233, 235; Schlanger v. Seamans, 401 U. S. 487, 489. And, as stated at the outset, that writ is available to consider the plea of an in-service applicant for discharge as a conscientious objector who claims that exhaustion of military administrative procedures has led only to a factually baseless denial of his application. In re Kelly, 401 F. 2d 211 (CA5); Hammond v. Lenfest, 398 F. 2d 705 (CA2).5
But since a court-martial charge was pending against the petitioner when he sought habeas corpus in March 1970, the respondents submit that the Court of Appeals was correct in holding that the District Court must [40]*40await the final outcome of those charges in the military judicial system before it may consider the merits of the petitioner’s habeas corpus claim. Although this argument, too, is framed in terms of “exhaustion,” it may more accurately be understood as based upon the appropriate demands of comity between two separate judicial systems.6 Requiring tile District Court to defer to the military courts in these circumstances serves the interests of comity, the respondents argue, by aiding the military judiciary in its task of maintaining order and discipline in the armed services and by eliminating “needless friction” between the federal civilian and military judicial systems. The respondents note that the military'constitutes a “specialized community governed by a separate discipline from that of the civilian,” Orloff v. Willoughby, 345 U. S. 83, 94; Gusik v. Schilder, 340 U. S. 128, and that in recognition of the special nature of the military community, Congress has created an autonomous military judicial system, pursuant to Art. I, [41]*41§ 8, of the Constitution.7 They further point out that civilian courts, out of respect for the separation-of-powers doctrine and for the needs of the military, have rightly been reluctant to interfere with military judicial proceedings.8
But the issue in this case does not concern a federal district court’s direct intervention in a case arising in the military court system. Cf. Gusik v. Schilder, supra; Noyd v. Bond, 395 U. S. 683. The petitioner’s application for an administrative discharge — upon which the habeas corpus petition was based — antedated and was independent of the military criminal proceedings.
The question here, therefore, is whether a federal court should postpone adjudication of an independent civil lawsuit clearly within its original jurisdiction. Under accepted principles of comity, the court should stay its hand only if the relief the petitioner seeks — discharge as a conscientious objector — would also be available to him with reasonable promptness and certainty through the machinery of the military judicial system in its [42]*42processing of the court-martial charge. Griffin v. County School Board of Prince Edward County, 377 U. S. 218, 229; Davis v. Mann, 377 U. S. 678, 690-691; Lucas v. Forty-Fourth General Assembly of Colorado, 377 U. S. 713, 716-717. For the reasons that follow, we are not persuaded that such relief would be even potentially available, much less that it would be either prompt or certain.
Courts-martial are not convened to review and rectify administrative denials of conscientious objector claims or to release conscientious objectors from military service. They are convened to adjudicate charges of criminal violations of military law. It is true that the Court of Military Appeals has held that a soldier charged in a court-martial with refusal to obey a lawful order may, in certain limited circumstances, defend upon the ground that the order was not lawful because he had wrongfully been denied an administrative discharge as a conscientious objector. United States v. Noyd, 18 U. S. C. M. A. 483, 40 C. M. R. 195.9 The scope of the Noyd doctrine is narrow, United States v. Wilson, 19 U. S. C. M. A. 100, [43]*4341 C. M. R. 100, and its present vitality not wholly clear, United States v. Stewart, 20 U. S. C. M. A. 272, 43 C. M. R. 112. A Noyd defense, therefore, would be available, even arguably, only in an extremely limited category of court-martial proceedings. But even though we proceed on the assumption that Noyd offered this petitioner a potential affirmative defense to the court-martial charge brought against him,10 the fact remains that the Noyd doctrine offers, at best, no more than a defense to a criminal charge. Like any other legal or factual defense, it would, if successfully asserted at trial or on appeal, entitle the defendant to only an acquittal11 — not to the discharge from military service that he seeks in the habeas corpus proceeding.
The respondents acknowledge, as they must, the limited function of a Noyd defense in the trial and appeal of the court-martial proceeding itself. But they suggest that, if the military courts should eventually acquit the petitioner on the ground of his Noyd defense, then the petitioner may have “an available remedy by way of habeas corpus in the Court of Military Appeals.”12 In support of this suggestion, the respondents point to the All Writs Act, 28 U. S. C. § 1651 (a), and to cases in which the Court of Military Appeals has exercised [44]*44power under that Act to order servicemen released from military imprisonment pending appeals of their court-martial convictions. See Noyd v. Bond, 395 U. S., at 695; Levy v. Resor, 17 U. S. C. M. A. 135, 37 C. M. R. 399; United States v. Jennings, 19 U. S. C. M. A. 88, 41 C. M. R. 88; Johnson v. United States, 19 U. S. C. M. A. 407, 42 C. M. R. 9.
But the All Writs Act only empowers courts to “issue all writs necessary or appropriate in aid of their respective jurisdictions . . . ,” and the jurisdiction of the Court of Military Appeals is limited by the Uniform Code of Military Justice to considering appeals from court-martial convictions. 10 U. S. C. § 867; United States v. Snyder, 18 U. S. C. M. A. 480, 40 C. M. R. 192. That court has been given no “jurisdiction” to consider a serviceman’s claim for discharge from the military as a conscientious objector.
Whether this conceptual difficulty might somehow be surmounted is a question for the Court of Military Appeals itself ultimately to decide. See United States v. Bevilacqua, 18 U. S. C. M. A. 10, 12, 39 C. M. R. 10, 12. But the short answer to the respondents’ suggestion in this case is the respondents’ own concession that that court has, to date, never so much as intimated that it has power to issue a writ of habeas corpus granting separation from military service to a conscientious objector. We conclude here, therefore, as in Noyd v. Bond, supra, at 698 n. 11, that the petitioner cannot “properly be required to exhaust a remedy which may not exist.”13 Accordingly, we reverse the judg[45]*45ment of the Court of Appeals and remand the case to the District Court with directions to give expeditious consideration to the merits of the petitioner’s habeas corpus application.
In holding as we do today that the pendency of court-martial proceedings must not delay a federal district court’s prompt determination of the conscientious objector claim of a serviceman who has exhausted all administrative remedies, we no more than recognize the historic respect in this Nation for valid conscientious objection to military service. See 50 U. S. C. App. § 456 (j); United States v. Seeger, 380 U. S. 163.14 As the Defense Department itself has recognized, “the Congress . . . has deemed it more essential to respect a man’s religious beliefs than to force him to serve in the Armed Forces.” Department of Defense Directive No. 1300.6 (May 10, 1968).
[46]*46But our decision today should not be understood as impinging upon the basic principles of comity that must prevail between civilian courts and the military judicial system. See, e. g., Noyd v. Bond, 395 U. S. 683; Burns v. Wilson, 346 U. S. 137; Orloft v. Willoughby, 345 U. S. 83; Gusik v. Schilder, 340 U. S. 128. Accordingly, a federal district court, even though upholding the merits of the conscientious objector claim of a serviceman against whom court-martial charges are pending, should give careful consideration to the appropriate demands of comity in effectuating its habeas corpus decree.15
The judgment is reversed.
Mr. Justice Powell and Mr. Justice Rehnquist took no part in the consideration or decision of this case.