A man convicted under New York’s controversial depraved indifference murder statute for shooting his estranged wife to death on a Brooklyn sidewalk has been ordered freed by the U.S. Court of Appeals for the Second Circuit.

John Rivera was convicted in Brooklyn Supreme Court in 1997 for the Jan. 13, 1997, killing of Kimberly Cassas with a single bullet fired from a nine-millimeter handgun.