A Democratic state representative from Everett who served on an election law committee is resigning his seat and will plead guilty to voter fraud charges in federal court in Boston, authorities said Thursday.

Representative Stephen “Stat” Smith, 57, faces up to two years in prison, and prosecutors will recommend a 6-month sentence, according to his plea agreement. Smith has also agreed to vacate his seat, effective Jan. 1, and not seek elective office for five years from the date of his sentencing. A plea date has not been set.

Smith did not return messages seeking comment Thursday.

One of his lawyers, Peter C. Horstmann, declined to discuss the case, but said in an e-mail, “Please remember, these are misdemeanors.”

According to prosecutors, Smith, first elected to the Legislature in 2006, submitted fraudulent absentee ballots to support his bids for public office in 2009 and 2010.

He has also served on the Everett Board of Alderman and School Committee.

Smith obtained absentee ballots for ineligible voters, who would unlawfully cast them, or he cast himself, prosecutors said. In some cases, he obtained absentee ballots for registered voters who did not know that he was voting in their names.

Prosecutors wrote in a filing that in those cases, “one or more government officials” helped Smith intercept absentee ballots before they reached unknowing voters.

"To find out who your real rulers are, simply look to those whom you CANNOT criticize..."