NAPA, Calif. (AP) — A Northern California man who has spent seven years behind bars will be released after his murder conviction was overturned because a federal court found he got an unfair trial.

Marquis Douglas, now 23, and his older brother Junor, now 24, were tried as adults and convicted of second-degree murder in the 2007 shooting death of Anthony Gee.

The younger brother was sentenced to 20 years to life. The older brother, who pulled the trigger, received 70 years to life.

In May a federal court set aside the younger brother's conviction, citing faulty jury instructions.

The Vallejo Times-Herald reports under a deal with prosecutors, MarquisDouglas will avoid another trial in exchange for pleading guilty to voluntary manslaughter.

He is expected to receive a 14-year suspended sentence and be released Nov. 1.