Mac Miller has allegedly been arrested for driving under the influence of alcohol.

Mac Miller

Mac Miller

The 26-year-old rapper is believed to have been drinking before he got behind the wheel of his 2016 G-Wagon, which he allegedly crashed into a power pole in the San Fernando Valley at around 1am on Thursday (17.05.18).

According to TMZ, Mac - whose real name is Malcolm James McCormick - and two passengers who were in the car at the time allegedly fled the scene on foot.

It has been claimed that an eyewitness called police and told them which direction the group had gone, and when cops arrived on the scene, they ran the plates on the vehicle at retrieved Mac's address.

The publication reports that when police arrived at the home of the 'My Favorite Part' rapper, he allegedly "confessed to driving drunk and fleeing the scene."

A law enforcement source is quoted by TMZ as saying: "He was the most polite and nice intoxicated person we've ever seen."

Mac was allegedly taken to jail, where his bail was believed to be $15,000, and was released from the facility later on Thursday.

The alleged incident comes after the rapper recently split with his girlfriend of two years Ariana Grande, who took to Instagram earlier this month to voice her "endless support" for her former beau.

Posting a picture of the pair on her Instagram story last week, the 24-year-old singer wrote: "Hi! This is one of my best friends in the whole world and favorite people on the planet Malcolm McCormick. I respect and adore him endlessly and am grateful to have him in my life in any form, at all times regardless of how our relationship changes or what the universe holds for each of us! (sic)

"Unconditional love is not selfish. It is wanting the best for that person even if at the moment, it's not you. I can't wait to know and support you forever and I'm so proud of you!! (sic)"