WENN 1 / 10

MIAMI BEACH, Fla. (AP) -- Rapper Flo Rida has entered into a deal for first-time offenders on his DUI arrest on Miami Beach.

RELATED: Year in Review: Trouble With the Law 2011

His attorney told the Miami Herald on Wednesday that the singer will enroll in the Back on Track program, which requires him to perform community service and take DUI classes.

If completed, Flo Rida will have his DUI charge amended to reckless driving.

RELATED: Lindsay Lohan: Courtroom Couture

His arrest report says officers spotted his car driving erratically about 3:45 a.m. on June 6. The report says the rapper, whose real name is Tramar Dillard, failed a field sobriety test. It also says he blew twice the legal limit to drive into a device to measure his blood-alcohol level, had bloodshot, watery eyes, and slurred speech.

Flo Rida's hits include the party jam "Low" and "Right Round."

RELATED: 'Real Housewives' Dad Matt Holmes Arrested for Arson, Insurance Fraud