LOS ANGELES -- A judge put the criminal case against a man charged with stalking reality T.V. star Audrina Patridge on hold so doctors can evaluate his mental competency.

Zachary Loring tried to enter a guilty plea Tuesday to a felony charge that he stalked "The Hills" star, but his attorney objected and a judge refused to accept the plea.

The 24-year-old went into a profanity-laced tirade in which he criticized the court before he was returned to custody. He is being held on $150,000 bail.

Los Angeles Superior Court Judge William Ryan ordered two doctors to evaluate Loring.

Loring was arrested outside Patridge's Hollywood Hills home in Febraury after he was spotted knocking on her door, according to Los Angeles police Sgt. Kyle Kirkman.

Loring, of Petaluma, is charged with one felony county of stalking and three misdemeanor counts of disobeying a court order.

Patridge obtained a civil restraining order against Loring last year after he repeatedly showed up at her Hollywood Hills home.

In September, Los Angeles Superior Court Judge David S. Cunningham granted Audrina and her brother, Mark Patridge, a 3-year restraining order against Loring. He was ordered to stay at least 100 yards away from Audrina and Mark.

Loring was arrested in September, 2009 in Sonoma County on two outstanding warrants for vandalism and disturbing the peace, according to Kimbra Johnson, a spokesperson for Sonoma County Sheriff's Department.

In court documents, Patridge claimed Loring came to her home on August 26, saying he was there to deliver wine.

The reality star said when she went to the door, Loring handed her a stack of photos, cards, drawings (including one that showed a woman being strangled) and poems he had written.

She claimed some of the cards were dated Sept. 15, and said she was concerned about whether she would be "injured or harmed in any way" on that date.

Patridge also accused Loring of bringing her beer which he said was from a family brewery and wanted to see her drink it.

Neighbors reportedly saw Loring on Patridge's front porch several days later.

Surveillance cameras recorded Loring waiting there for 7 hours and "talking to himself," according to the court papers.

Patridge said Loring came to her home again on August 30 dressed in a suit, and she called police.

When authorities arrived, Patridge said Loring wasn't fazed and still tried to approach her.

Cops stopped Loring and arrested him.

The Yorba Linda-born actress, known for her sexy Carl's Jr. ads, appeared in the horror movie "Sorority Row" and the straight-to-DVD movie "Into the Blue 2: The Reef."

In February, her home in the Hollywood Dell area was burglarized, and she posted on her Web site surveillance video of the suspects.