Rapper Krayzie Bone has been sentenced to three years probation after striking a plea deal in his driving under the influence (Dui) case.

The Bone Thugs-n-Harmony star's vehicle was pulled over by cops in Los Angeles in July (12) and he was arrested after allegedly failing a field sobriety test.

He pleaded not guilty to the charge in September (12), but struck a plea deal with prosecutors earlier this week (begs03Dec12) and changed his plea to no contest.

The rapper - real name Anthony Henderson - was sentenced to three years summary probation and ordered to attend an alcohol education program, according to Tmz.com.

Two other charges, one for an additional Dui count and one for driving without a licence, have been dropped as part of the deal, reports the website.