Getty

Sean Kingston has officially been sentenced in his federal wire fraud case ... receiving a sentence close to what his lawyers asked for.

The rapper was sentenced in a Florida courtroom Friday to 42 months -- which works out to 3.5 years -- in federal prison. Broward County Sheriff's Office

As you know ... Sean was convicted of federal wire fraud back in March, along with his mother, Janice Turner . Janice was sentenced to five years.

Kingston faced up to six years of incarceration, but his lawyers asked the judge for leniency earlier this week ... citing Sean's squeaky clean record and numerous good works in the community. His team specifically pointed out he didn't just donate money -- he got out there and put in long hours helping people less fortunate than himse

See Full Page