Revolutionpix / Fame Pictures 1 / 9
Revolutionpix / Fame Pictures 1 / 9

Reality TV star Stephanie Pratt has agreed to undergo 30 days in rehab as part of her ongoing drunk driving case.

RELATED: See Hollywood's worst hangovers

The "Hills" star was arrested last month after she failed a Breathalyzer test in Los Angeles and she was formally charged with driving under the influence.

RELATED: See pics of Stephanie's brother Spencer Pratt

She pleaded not guilty to the misdemeanor, and in a hearing in Los Angeles on Friday the 23-year-old has now agreed to spend a month in a rehabilitation center.

RELATED: Become a fan of Wonderwall on Facebook

If convicted of the offense, Pratt could face up to six months in jail and a $1,000 fine.