Curtis Long appeals from an order of the District Court which denied his petition for a writ of habeas corpus, after concluding that, even though the Commonwealth failed to raise the statute of limitations defense, 28 U.S.C. § 2244(d)(1), in the answer to the petition, it had not waived the defense because it advanced it after the Magistrate Judge
sua sponte
flagged it in her report. This appeal requires us to decide whether this holding is consistent with
Robinson v. Johnson,
I. Facts and Procedural History
Long was found guilty by a jury in Indiana County, Pennsylvania, of involuntary manslaughter in violation of 18 Pa. Cons.Stat. Ann. § 2504(a) (West 1998), complicity to commit second degree murder in violation of 18 Pa. Cons.Stat. Ann. § 2502(b), § 306(a)-(c) (West 1998), and complicity to commit robbery in violation of 18 Pa. Cons.Stat. Ann. § 3701(a)(l)(i) (West 2000), § 306(a)-(c) in July 1993. His post-trial motions were denied and he was sentenced to life in prison. The Pennsylvania Superior Court affirmed the judgment, and the state supreme court denied allowance of appeal on March 6, 1995. Long did not petition for certiorari to the United States Supreme Court.
In August 1995 new counsel was appointed under the Pennsylvania Post Conviction Relief Act, 42 Pa. Cons.Stat, Ann. § 9542. et seq. (West 1998), and Long, through .that counsel, filed his first state post-conviction petition on December 27, 1996. It was denied the Superior Court affirmed, and the state supreme court denied allocatur on August 12, 1998. Long filed a state petition for writ of habeas corpus on July 25, 2001. It was denied as an untimely state post-conviction petition, 42 Pa. Cons.Stat. Ann. § 9545(b), and as raising previously litigated claims, 42 Pa. Cons.Stat. Ann. § 9544, on November 29, 2001. Long did not appeal.
*393
Long then filed, pro se, an
in forma pauperis
petition for writ of habeas corpus pursuant to 28 U.S.C. § 2254 in United States District Court for the Western District of Pennsylvania, raising thirteen grounds for relief. As the merits of Long’s claims are not at issue here we will not provide an exhaustive list. As a general matter, Long alleged that: (1) he was deprived of a fair trial in that his motion for severance was -denied and in that-witnesses were not sequestered; (2) his statement to police was admitted in violation of
Miranda v. Arizona,
On June 11, 2002, the Commonwealth answered the habeas petition, provided a complete state procedural history of Long’s claims, and asserted, citing appropriate authority, that any habeas claim that could fairly be said to have been raised at all levels either on direct appeal or in the first state post-conviction petition was exhausted. Any habeas claim that was raised for the first time in the state habeas/untimely second post-conviction petition or was omitted on appeal to the Superior Court during the original post-conviction proceedings was, ■ of course, barred due to procedural default, and cause and prejudice could not be shown. The Commonwealth then addressed on the merits the severance claim and an ineffective assistance of counsel claim. 2 Although the Commonwealth asserted that the Miranda claim was barred due to a procedural default, it addressed this claim on the merits.
Long filed a reply, in which he urged the court to address his claims notwithstanding his state procedural defaults. Thereafter, there was no activity on the docket until January 2003, when Long’s case was reassigned to a new United States District Judge following the original judge’s retirement. In May 2003, the Magistrate Judge filed a Report and Recommendation, in which she recommended that the habeas petition be denied as'untimely under 28 U.S.C. § 2244(d)(1), which is set forth in the margin, and which provides that a petition be filed within one year of the date on which a judgment becomes final. 3
*394
In deciding the timeliness issue under 28 U.S.C. § 2244(d), the Magistrate Judge reasoned that Long’s conviction became final 90 days after March 6,1995, when the Pennsylvania Supreme Court denied allo-catur,
see
28 U.S.C. § 2244(d)(1)(A);
Swartz v. Meyers,
Section 2244(d)(2) provides, however, that “[t]he time during which a properly filed application for State post-eonviction or other collateral review with respect to the pertinent judgment or claim is pending shall not be counted toward any period of limitation under this subsection.” 28 U.S.C. § 2244(d)(2). Thus, the statute was tolled when Long filed his first state post-conviction petition on December 27, 1996, started to run again on August 12, 1998, when the state supreme court denied allowance of appeal of that petition,
see Stokes v. District Attorney of County of Philadelphia,
The Magistrate Judge then addressed the issue we are required to decide in this appeal. She noted that the Commonwealth had not raised the statute of limitations as an affirmative defense, which presented the question whether the defense was waived under our decision in
Robinson v. Johnson,
Long, who was not represented by counsel in the District Court, timely filed objections, in which he argued that the court should apply the miscarriage of justice exception to the AEDPA statute of limitations; in his case the putative miscarriage of justice was a fundamentally unfair trial. Importantly for our- purposes here, the Commonwealth filed an answer to the objections a week later (and within three weeks of the filing of the Report and Recommendation) in which it endorsed the Magistrate Judge’s view that the habeas petition was untimely, stating: “[The Magistrate Judge] determined that the Petition was barred by the one-year statute of limitation provided under 28 U.S.C. § 2244(d). Respondents submit that [the Magistrate Judge] was correct for the reasons set forth in the following paragraphs.” Respondent’s Answer to Petitioner’s Objections to the Magistrate Judge’s Report and Recommendation, at ¶ 2. The Commonwealth also expressed its agreement with the Magistrate Judge’s analysis as it related to calculating when the habeas petition should have been filed, id. at ¶¶ 3-6, and then asked the District Court in the final unnumbered paragraph of this answer to dismiss the petition as untimely, stating: “Wherefore, Respondents respectfully request your Honorable Court to overrule Petitioner’s Objections and to adopt [the Magistrate Judge’s] Report and Recommendation.”
The District Court did just that. In a Memorandum Order entered on June 4, 2003, the District Court denied the habeas petition as untimely and adopted the Report and Recommendation as the Opinion of the Court. The court stated:
The magistrate judge’s report and recommendation, filed May 12, 2003, recommended that the Petition be denied as untimely and that a certificate of appeal-ability be denied. Petitioner has filed objections to the report and recommendation in which he asserts that he has demonstrated cause for his procedural default and prejudice therefrom.... The magistrate judge recommended that *396 the petition be dismissed because it was not timely filed within the one-year limitations period provided for under the Antiterrorism and Effective Death Penalty Act of 1996 (AEDPA), 28 U.S.C. § 2244(d). The magistrate judge did not find any procedural default so the “cause and prejudice” standard does not apply to this case.... In her report and recommendation the magistrate judge discussed the doctrine of equitable tolling which can toll the running of the AEDPA statute of limitations, and properly determined that petitioner has not shown a basis for tolling. After de novo review of the pleadings and documents in the case, together with the objections to [the] report and recommendation ... IT IS HEREBY ORDERED that the Petition be denied as untimely.
Memorandum Order of the District Court, at 1-3 (citation omitted).
Long appealed, and we appointed counsel and granted a certificate of appealability as follows:
[W]hether the respondent to a habeas petition must raise the statute of limitations defense, 28 U.S.C. § 2244(d), in the answer to the habeas petition or be deemed to have waived it. Robinson v. Johnson,313 F.3d 128 (3d Cir.2002). Put another way, may the Magistrate Judge in a Report and Recommendation recommend dismissal on the basis of untimeliness when the respondent has failed to raise the defense in its answer, id., and may the state thereafter raise the statute of limitations defense in a supplemental pleading to avoid being deemed to have waived the defense, [and] whether the respondent here may be deemed to have raised the statute of limitations defense in its Answer to Petitioner’s Objections to the Magistrate Judge’s Report and Recommendation.
Order of Court (Feb. 20, 2004). 6
We have jurisdiction pursuant to 28 U.S.C. § 1291. The District Court’s analysis of the statute of limitations issue, which in Long’s case does not involve disputed facts, is subject to plenary review,
see Swartz v. Meyers,
II. The Amendment to the Answer
A. Robinson v. Johnson
Our discussion must necessarily begin with
Robinson v. Johnson, supra.
Robinson, whose first federal habeas petition was dismissed for failure to exhaust state remedies, filed a second federal habeas petition, which was referred to a magistrate judge who ordered a responsive pleading. The Commonwealth filed a letter response, arguing that the petition should be transferred to the court of appeals for authorization because it was a successive petition.
Robinson appealed, and we ordered the Commonwealth to show cause why the order dismissing the petition should not be summarily reversed in light of
Christy v. Horn,
On remand, Robinson filed a motion to strike his original petition and for permission to file an amended petition. The Commonwealth then filed a pleading, asserting for the first time that Robinson’s second federal habeas petition was time-barred by AEDPA’s statute of limitations, 28 U.S.C. § 2244(d)(1). Robinson, in rebuttal, argued that the Commonwealth’s statute of limitations defense was untimely. The magistrate judge endorsed the Commonwealth’s argument, and the district court adopted the magistrate judge’s Report and Recommendation over Robinson’s renewed objection that the Commonwealth had waived its limitations defense.
On appeal, we held first that, because the statute of limitations is not jurisdictional in nature,
see Miller v. New Jersey State Dep’t of Corr.,
Nevertheless, we expressly held that “a limitations defense does not necessarily have to be raised in the answer.”
Id.
at 135. We surveyed several cases involving Federal Rule of Civil Procedure 15(a) and amendments' to answers. In
Venters v. City of Delphi,
After discussing Venters and other cases, the panel explained that all of the cases surveyed reflected “attempts by the courts to keep the consideration of affirmative defenses consistent with at least the purpose, if not necessarily the language, of.Rule 8(c).” Robinson, 313 F.3d *398 at 137. Thus, although an affirmative defense need not be raised in the answer, it must be raised “as early as practicable” thereafter. Id. We reasoned that affirmative defenses must be raised as early as is practicable, not only to avoid prejudice to a plaintiff or petitioner, but also to promote judicial economy. We wrote: “If a party has a successful affirmative defense, raising that defense as early as possible, and permitting a court to rule on it, may terminate the proceedings at that point without wasting precious legal and judicial resources.” Id. We then stated that affirmative defenses under AEDPA should be treated the same as affirmative defenses in other contexts, and, “if not pleaded in the answer, they must be raised at the earliest practicable moment thereafter.” Id.
Applying this rule, we went on to hold that the Commonwealth’s assertion of its affirmative defense of the statute of limitations was not untimely. We opined that the Commonwealth’s letter response to Robinson’s habeas petition seeking transfer to the court of appeals was equivalent to a motion to dismiss for lack of subject matter jurisdiction. A motion to dismiss for lack of subject matter jurisdiction is a favored defense, id. at 139 (citing Fed. R.Civ.P. 12(h)), and we opined that: (1) the Commonwealth did not have to include the statute of limitations defense in its original motion to transfer, and was not required to raise the defense when the case was on appeal for the first time, id. at 139-40; and (2) the normal rules regarding the waiver of defenses under Fed. R.Civ.P. 8(e) did not apply until the threshold issue of successiveness was resolved. We then stated that the defense was not waived because the Commonwealth raised it in its first pleading on remand. Id. at 141.
This reference to the “first” pleading on remand was descriptive of the procedural circumstances of Robinson’s case, i.e., a construction of our holding that the AED-PA statute of limitations defense should, if not pleaded in the answer, be raised at the earliest practicable, or possible, or feasible, moment thereafter.
Robinson,
B. Federal Rule of Civil Procedure 15(a): Prejudice and the Role of Delay and Inadvertence
We turn to Long’s arguments on appeal. Long concedes that Robinson does not impose an absolute requirement that the AEDPA statute of limitations defense be asserted in the answer. However, he argues that he suffered undue prejudice as a result of the delay in raising the defense, and that the Commonwealth should have a compelling reason for failing to assert the defense in the answer. Long argues that Robinson was not meant to grant extra time to those litigants who fail to assert the defense in the answer as a result of inadvertence.
Long relies on a decision from the Second Circuit,
Strauss v. Douglas Aircraft Co.,
We do not doubt that Strauss correctly states the law, but it provides only general support for Long’s argument. First, it does not hold that inadvertence on the part of a defendant establishes undue prejudice sufficient to deny an amendment under Rule 15(a). Second, the length of the delay in Straiiss was extremely long. Third, and perhaps most important of all, the plaintiff suffered actual prejudice in that his action might not have been time-barred in another jurisdiction had he known about the statute of limitations defense sooner. With respect to the latter basis for Strauss’ s holding, we note that Long’s habeas petition unquestionably was untimely under 28 U.S.C. § 2244(d). Thus he suffered no prejudice of the type discussed in Strauss. The frustrated expectation of not having an untimely habeas petition heard on the merits does not establish prejudice sufficient to defeat an amendment to an answer.
The delay here presents a closer question. As Long points out, the Commonwealth took 14 months to assert the defense. Long filed his habeas petition in April 2002, and the Commonwealth did not raise the statute of limitations defense until June 2003. The passage of time factors into the analysis of whether a plaintiff has suffered prejudice by a delay in amending an answer to assert an affirmative defense.
See Robinson,
The Commonwealth answered the complaint one month after being ordered to do so, and raised the statute of limitations defense one week after Long filed his objections and three weeks after the Magistrate Judge filed her Report and Recommendation. The inactivity on the docket from July 2002 until January 2003 when a new District Judge was assigned, and again from January 2003 until May 2003 when the Magistrate Judge filed her Report and Recommendation, is not attributable to the Commonwealth .under the circumstances; indeed, in a case referred to a magistrate judge, once a habeas petition is filed and answered, it seems reasonable for the parties to wait for a Report and Recommendation to be filed before engaging in further pleading. With respect to the question of inadvertence, the Commonwealth concedes in its brief on appeal that it made a mistake in not raising the defense in the answer.- It argues, however, that it in effect made a timely and proper amendment of its answer in accordance with Federal Rule of Procedure 15(a), and that the District Court, in effect, allowed the amendment in its discretion. We agree.
The Commonwealth relies on
Block v. First Blood Associates,
Block
elaborates a standard for judging prejudice that is compatible with
Robinson,
Rule 15(a) requires that leave to amend the pleadings be granted freely “when justice so requires.” Fed. R. Civ. Pro. 15(a). We have held that motions to amend pleadings should be liberally granted.
See, e.g., Adams v. Gould Inc.,
We believe that Heyl is instructive here for its treatment of the question of delay as it relates to the larger issue of prejudice, and for its rejection of the argument that a respondent or defendant must supply a compelling reason for the delay even if there is no prejudice. Such a rule, if adopted, would certainly run counter to the well-established rule that amendments should be liberally allowed. Heyl also is instructive for what it teaches about flexibility and the formalities of Rule 15(a), both with respect to how an amendment is advanced by a respondent or defendant, and with respect to how it is given effect by a court. Consistent with Heyl, we agree that, although the Commonwealth did not rigidly adhere to the formalities of ■seeking leave to amend, it in effect made a timely and proper amendment of its answer. In addition, the District Court, although it did not expressly state that it was allowing the answer to be amended, in effect, allowed the amendment in its discretion by disposing of the petition on the basis of untimeliness under 28 U.S.C. § 2244(d).
C. Summary
Robinson,
III. The Sua Sponte Flagging of the Statute of Limitations Issue by the Magistrate-Judge
The question that remains is the effect of the Magistrate Judge’s flagging of the statute of limitations defense once an answer had been filed, and of the Commonwealth’s response thereto. Our answer to that question was foreshadowed by
Banks v. Horn,
■Even if not raised, we believe we could consider this issue sua sponte. “While ordinarily we do not take note of errors not called to the attention of the Court of Appeals nor properly raised here, that rule is not without exception. The Court- has ‘the power to notice a “plain error” though it is not assigned or specified,’ .... ‘In exceptional circumstances, especially in criminal cases, appellate courts, in the public interest, may, of *402 their own motion, notice errors to which no exception has been taken, if the errors are obvious, or if they otherwise seriously affect the fairness, integrity or public reputation of judicial proceedings.’ ” Silber [v. United States ], 370 U.S. [717,] 717-18,82 S.Ct. 1287 ,8 L.Ed.2d 798 [ (1962) ] (internal citations omitted). See also Acosta v. Artuz,221 F.3d 117 (2d Cir.2000); Kiser v. Johnson,163 F.3d 326 (5th Cir.1999).
Id. at 533 n. 4.
The Commonwealth had argued unsuccessfully in the district court that Bank’s federal habeas petition was untimely. Id. at 532. On appeal Banks argued that the timeliness of his habeas petition was not before us because the Commonwealth had not challenged the district court’s ruling in its counterstatement of issues, and had failed to discuss the issue in its brief except for a conclusory reference to its position in a footnote. We disagreed, believing that we should examine the issue “in light of the District Court’s careful analysis of this issue and its importance, and because the government did make reference to the issue albeit in a footnote.” Id. at 533. The footnote quoted above followed. We then went on to hold that the District Court appropriately applied equitable principles to toll the one-year AEDPA statute of limitations requirement. Id. at 534.
Thus we observed prior to
Robinson
that the AEDPA statute of limitations is an important issue, the raising of which may not necessarily be left completely to the state. The
Banks
footnote refers to public interest policies underlying the AEDPA statute of limitations, in terms and by its reliance on
Acosta v. Artuz,
The AEDPA statute of limitation promotes judicial efficiency and conservation of judicial resources, safeguards the accuracy of state court judgments by requiring resolution of constitutional questions while the record is fresh, and lends finality to state court judgments within a reasonable time. Like the other procedural bars to habeas review of state court judgments, the statute of limitation implicates the interests of both the federal and state courts, as well as the interests of society, and therefore it is not inappropriate for the court, on its own motion, to invoke the doctrine.
Id. (internal quotations and citations omitted). We agree. While civil in nature, habeas corpus eases are different from ordinary civil cases where only the interests of the parties are involved.
In
Artuz,
the Second Circuit reasoned that the authority of a district judge to raise procedural defenses
sua sponte
is consistent with Rule 4 of the rules governing habeas corpus, which gives the district court the power to review and dismiss habeas petitions prior to any responsive pleading by the state.
Id. Artuz
correctly states the law,
see also Hill v. Braxton,
We think it plain that a federal magistrate judge may raise the AEDPA statute of limitations issue in a Report and Recommendation after an answer has been filed. In
Granberry v. Greer,
Most importantly, however, raising procedural habeas issues furthers the interests of. comity and federalism.
See Sweger,
There are decisions
contra.
The Sixth Circuit has held in a 2-1 decision that the state waived the statute of limitations defense by failing to raise it in the answer.
Scott v. Collins,
The
Scott
and
Nardi
decisions are at odds with
Robinson
and our Rule 15(a) jurisprudence, which do not require that affirmative defenses be pled in the first responsive pleading. Moreover, we believe the dissenting opinion in
Scott,
IV. Conclusion
In sum, we hold that, consistent with
Robinson v. Johnson,
Notes
. Habeas Rule 5 provided in pertinent part only that the answer shall state “whether the petitioner has exhausted his state remedies. ...”
. Thus the Commonwealth complied with the Magistrate Judge’s order that it should address both exhaustion and the merits.
.The habeas corpus statute of limitations provides as follows: (d)(1) A 1-year period of limitation shall apply to an application for a , writ of habeas corpus by a person in custody pursuant to the judgment of a State court. The limitation period shall run from the latest of-
*394 (A) the date on which the judgment became final by the conclusion of direct review or the expiration of the time for seeking such review;
(B) the date on which the impediment to filing an application created by State action in violation of the Constitution or laws of the United States is removed, if the applicant was prevented from filing by such State action;
(C) the date on which the constitutional right asserted was initially recognized by the Supreme Court, if the right has been newly recognized by the Supreme Court and made retroactively applicable to cases on collateral review; or
(D) the date on which the factual predicate of the claim or claims presented could have been discovered through the exercise of due diligence.
28 U.S.C. § 2244(d) (West Supp.2004).
. Bums held that, where a judgment became final on or before April 24, 1996, the effective date of AEDPA, the petitioner had until April 23, 1997, to file a federal habeas corpus petition challenging his conviction. As noted above, Long's judgment became final prior to April 24, 1996.
. The Magistrate Judge concluded that Long’s post-conviction petition was pending as of August 10, 1995 when new counsel was appointed to represent him, and thus the statute of limitations did not begin to run on April 24, 1996 when AEDPA took effect. Long does not appear to have filed pro se a petition for post-conviction relief prior to new counsel being appointed, or even after new counsel was appointed, and counsel did not file a petition on Long's behalf until December 27, 1996. It thus seems that, because a petition was not pending, the statute began to run on April 24, 1996 when AEDPA went into effect, ran for about eight months, and then was tolled on December 27, 1996. Whether Long had four months left in which to file his federal habeas petition when the statute began to run again on August 12, 1998, or a full twelve months, his filing of his federal habeas petition on April 16, 2002 was late, and Long has conceded that his habeas petition was untimely filed.
. We thank court-appointed counsel for his able oral presentation and briefs, which were of great assistance.
. For this reason, the non-federal habeas cases cited by Long holding that the statute of limitations may not be raised sua sponte are inapposite.
. Habeas Rule 5, for example, has been amended, effective December 1, 2004, to provide that the answer shall state "whether any claim in the petition is barred by a failure to exhaust state remedies, a procedural bar, non-retroactivity, or a statute of limitations," and thus treats the AEDPA statute of limitations like other procedural habeas issues.
