Prosecutors, defense attorneys and a state Supreme Court justice were criticized by Eastern District Judge Nicholas Garaufis who yesterday ordered the release of a man who had spent 23 years in prison for a murder he didn’t commit.

“The case of William Lopez was rotten from day one,” wrote Garaufis as he granted a petition for a writ of habeas corpus in Lopez v. Miller, 02-CV-3988.