Ashley Tisdale's allegedly obsessed fan violated a restraining order against him by contacting her via social media and was arrested Friday, TMZ reported.

Tisdale, 27, was granted a temporary restraining order against Nicholas Fiore in May, when she claimed she feared for her life after Fiore threatened to shoot her and her boyfriend, Christopher French, musician in Annie Automatic. Fiore also sent Tisdale more than 18,000 tweets since 2012.

Fiore sent tweets in the past writing messages as though the two had a relationship.

He tweeted:"I'll never lose u baby even in 20 years til infinity you'll always b my best friend," Fiore wrote.

"Let it all out on me u can have my heart put a lock on it throw away the key & my soul is yours to keep," another tweet said.

He also reportedly showed up at Tisdale's house last month.

Law enforcement sources told TMZ that Fiore violated the restraining order more than once since it was issued last month.

Fiore allegedly did not contact the actress and singer in person this time, only by social media.

Fiore was reportedly arrested at his home on Friday and is currently in custody.  

The actress made headlines recently when she posed topless for the cover of Maxim magazine's May issue. 

View photos of the photo spread of Tisdale in Maxim here.

She recently hit the big screen again in Scary Movie 5, which was released in theaters on April 12.

Tisdale told Maxim loved working with Lindsay Lohan, who had a cameo as a couple with Charlie Sheen in the movie.

"There were so many cameos, and that's what I love about these movies. They'd write a scene, then look for cameos, and they'd just pop in and do it. It was, like, Whoa, Mike Tyson's here, and that wasn't even planned!" Tisdale said.

Tisdale was also part of the Maxim Hot 100 list last month.