A Los Angeles judge Monday extended a restraining order granted to singer Miley Cyrus on May 23 against an obsessed fan.

For the next three years, Devon Meek, 24, of Sierra Vista, Arizona, must stay 100 yards away from Cyrus, 21, as well as from venues in which she is performing, said TMZ.com, citing the court order.

advertisement | advertise on newsday

The Los Angeles Police Department's Threat Management Unit arrested Meek on May 16 outside an unspecified property that Meek believed Cyrus owned. After making irrational comments, he was taken to a medical facility under section 5150 of the California Welfare and Institutions Code, which allows someone exhibiting a "mental disorder" or who is "gravely disabled" to be given "72-hour treatment and evaluation" that can then be extended. Meek remained in a psychiatric hospital on May 23 when the initial restraining order was granted.

The Associated Press reported at the time that Det. Rosibel Smith wrote in a sworn statement that Meek had told officers to shoot him in the head if he could not meet Cyrus. Smith said that according to a police officer who interviewed Meek, the fan had "stated that when he is released from the hospital, he will not stop seeking Ms. Cyrus and that he will continue to go to Ms. Cyrus' residence until Ms. Cyrus accepts him or he dies."

Cyrus' spokeswoman did not return a Newsday request for comment and the singer has not responded on Twitter.