KHLOE Kardashian shot to fame as a member of the Kardashian family as part of their numerous reality shows.

But the reality star spent time in jail in 2007. Here's what led up to her time behind bars.

Why did Khloe Kardashian go to jail?

Khloe was arrested for driving under the influence (DUI) in 2007 in California and initially given community service as punishment.

Alongside this, Khloe was ordered to complete an alcohol education course.

While she did successfully complete her community service, she violated her parole conditions by missing some sessions of the course.

She cited her busy schedule as a reason for missing the classes.

READ MORE ON KHLOE KARDASHIAN

While some might figure that a celebrity would get special treatment, that didn't happen in this case and she was sent to jail.

The arrest and subsequent jail term formed a major part of the first and third seasons of Keeping Up With The Kardashians.

On the show, Khloe said: "I really wasn't that drunk. It wasn't a high percentage.

"My judge is not very happy with me.

Most read in Celebrity

"He thinks that my job is a luxury and that there's no excuse on why I got kicked out [of the treatment programme]."

What is Khloe Kardashian's mugshot?

Khloe's mugshot was taken when she was arrested.

She was booked in at the LA County Sheriff's Department.

The snap shows her smiling slightly at the camera and looking directly down the lens with a made up face and stylishly curled hair.

How long was Khloe Kardashian in jail?

A judge sentenced Khloe to 30 days in jail for failing to complete her community service .

Alongside the jail time she was told to join the alcohol treatment program again.

While her month in jail seemed frightening, in reality she wasn't behind bars for that long.

Instead of the 30 days she was sentenced to, she served less than a day.

The Kardashian was released after less than three hours due to overcrowding.

This is a common practice for jails, who often release non-violent offenders if they're short on space.

At the time of her release, her representatives issued a statement.

Read More on The US Sun

Her rep said: "Khloe is ready and willing to serve out her sentence, no matter how long and where, and have this resolved."

ncG1vNJzZmivp6x7tbTEZqqupl6YvK57xKernqqklravucSnq2hqaWyBc4KPaK6hnZ5isaqwjKSfpaeVYriivsOaqqGhkaN6qLuMraZmopGeuXA%3D