The New York courts invalidated the latest version of the state death penalty law in 2004 midway through a series of turns that extended the prosecution of Mr. Wilson and his co-defendants , a gang of men based around the Stapleton Houses project in northeastern Staten Island .