An Albany County town justice who is facing grand larceny charges for participating in a scheme to steal $4 million from a trust fund that he oversaw has agreed to resign from the bench.

Town of Guilderland Justice Richard Sherwood, a former Guilderland town attorney who was elected to the bench in 2013, is charged with two counts of grand larceny, one count of first-degree scheme to defraud and two counts of first-degree criminal possession of stolen property.