Meliano Diaz, a New York State prisoner, appeals from a judgment dismissing his petition for a writ of habeas corpus, 28 U.S.C. § 2254, in which he claimed that the state’s seven-year delay in hearing his appeal violated his due process rights. The United States District Court for the Eastern District of New York, Jack B. Wein-stein, Judge, dismissed the petition. Because Diaz’s state appeal had been heard and affirmed before the federal court issued its order, the district court found the petition to be moot. Affirmance by the state court did not automatically render Diaz’s habeas petition moot; however, because his appeal was not prejudiced by the long delay, Diaz’s petition was correctly denied.
*653 BACKGROUND
In 1976 Diaz robbed and killed a priest in Brooklyn. In 1982 he was convicted of second degree murder and criminal possession of a weapon and sentenced to concurrent terms of twenty-five years to life on the murder count and five to fifteen years on the weapons count. He filed a timely notice of appeal to the appellate division, second department, and initially was assigned counsel from the Legal Aid Society.
In January 1983, however, Legal Aid withdrew as counsel because of a conflict of interest, and the court assigned Stanley Shapiro, a panel attorney appointed under New York County Law § 722 (McKinney 1990), to represent Diaz on appeal. Over the next five years, Shapiro failed to perfect the appeal. Finally in March 1988, the appellate division assigned Diaz a new attorney who perfected the appeal in September.
When Diaz’s appeal had not been heard by May 1989, he petitioned for a writ of habeas corpus in federal district court claiming that the delay of seven years had denied him due process. He sought unconditional release, retrial, or a new appeal. While that petition was pending, the appellate division affirmed Diaz’s conviction.
People v. Diaz,
Diaz now claims that the district court erred by dismissing his petition as moot. He argues that because the delay was excessive, his due process rights were violated, and he is therefore entitled to habeas relief. We agree with Diaz that the district court erred in viewing his petition as moot, but we do not agree that the relief Diaz seeks in this habeas proceeding is available to him. In short, the petition had to be dismissed on its merits.
DISCUSSION
Simmons v. Reynolds,
decided by this court on March 12, 1990, well after the district court had dismissed Diaz’s petition, involved a similar problem of a long-delayed appeal in the appellate division, second department, where the Legal Aid Society withdrew its representation and was replaced by attorney Shapiro who neglected his duty to bring the appeal on for prompt disposition.
The remedies Diaz seeks — release, retrial, or a new appeal — would be appropriate only if the delay of his appeal had prejudiced his due process rights so as to make his confinement constitutionally deficient.
Id.
at 869;
see e.g., Jenkins v. Coombe,
*654
Nevertheless, Diaz claims that the unconstitutional delay of his appeal did cause him anxiety for which he is entitled to a remedy.
See Rheuark v. Shaw,
CONCLUSION
This case, together with our recent decision in
Simmons,
serves to emphasize that for habeas petitions to be effective in cases like this, they need to be brought as soon as the appellate delay becomes unreasonable. Our most useful tool, perhaps our only effective tool, for assisting state prisoners whose appeals are unreasonably delayed is an alternative writ that orders the state court to hear the appeal promptly or to release the prisoner.
See e.g., Brooks v. Jones,
We hold that the district court correctly rejected Diaz's habeas petition although it did so on the erroneous ground of mootness. Even though the delay of Diaz’s appeal was excessive, the delay did not prejudice the merits of his appeal. Accordingly, Diaz’s petition for habeas relief was correctly denied.
Affirmed.
