Corrine Brown, a former longtime United States representative from Florida, was sentenced to five years in prison on Monday for operating a fraudulent charity that she used for more than $300,000 in personal expenses, including tickets for N.F.L. games and a Beyoncé concert.

A federal judge handed down the sentence in a Jacksonville, Fla., courtroom, excoriating Ms. Brown, 71, for abusing her powerful position in the House of Representatives for “entitlement and greed” to support a lavish lifestyle. Ms. Brown, a Democrat who represented parts of Jacksonville and northern Florida for nearly a quarter-century, must surrender to the authorities next month.

“Brazen barely describes it,” the judge, Timothy J. Corrigan of United States District Court for the Middle District of Florida, said of Ms. Brown’s sham charity.

Ms. Brown was convicted in May on 18 criminal counts, including mail and wire fraud and filing false tax returns. She lost her re-election bid in the Democratic primary in August 2016, a few weeks after she was indicted.