Fmr. Rep. Corrine Brown (D-Fla.) leaves federal courthouse after sentencing. (Screenshot)

A former House Democrat congresswoman who served for 24 years in Congress was sentenced to five years in federal prison on Monday.

Former U.S. Rep. Corrine Brown (D-Fla.) failed in her 2016 re-election bid after she was indicted on federal charges for fraud and tax crimes, including raising $800,000 for a sham charity, Jacksonville.com reports.

“This was a crime born out of entitlement and greed committed to ensure a lifestyle that was beyond their means,” U.S. District Judge Timothy Corrigan said at Monday’s sentencing.

“Just think of the good that could have been done with that money if it would have been used for its intended purpose,” Judge Corrigan added.

Brown was found guilty on 18 counts – 13 related to her charity scam - involving fraud, conspiracy, concealing income and filing false tax returns.