A 23-year-old was sentenced Friday to life in federal prison for participating in gang murders in Annapolis in Frederick, concluding his portion of a major racketeering case against several MS-13 members who prosecutors said participated in brutal slayings throughout Maryland.