Two former South Carolina legislators pleaded guilty Friday to selling their votes to an undercover FBI informant during an investigation of Statehouse corruption.

The two are among 20 lawmakers and lobbyists snared in an FBI sting dubbed "Operation Lost Trust." Most are charged with bribery; one lawmaker and several lobbyists face drug charges.Former state Reps. Frank McBride and James Faber admitted they accepted bribes from a lobbyist to support a bill that would have legalized betting on horse and dog races.

Their pleas were entered before U.S. District Judge Falcon Hawkins, the same judge presiding over the corruption trial of two state representatives, Larry Blanding and B.J. Gordon, who are fighting bribery charges. All four are Democrats.

Each faces a maximum sentence of 20 years in prison and a $250,000 fine.