Paris Hilton might want to upgrade her home security system.
Witnesses watched as Rainford, 36, was handcuffed and taken away in a squad car around 4:30 p.m. "He was hanging around on the beach while Paris was inside," one beachgoer told The Daily Mail. "Someone recognized him as being the man who had given her trouble in the past and the cops arrived pretty quickly."
According to a statement released by the L.A. County Sheriff's Department, operators were alerted to a "suspicious person standing on the beach" Monday afternoon.
"Deputies identified the suspect as James Rainford and determined a valid restraining order prohibiting him from being within 200 yards of Miss Hilton or her residence was in effect."
In late April, Rainford assaulted Hilton's then-boyfriend Cy Waits outside an L.A. courtroom. After pleading no contest to battery charges, Rainford was recently released from jail after serving just 24 days of his 227 day sentence.
Three months earlier, Rainford pleaded no contest in a trespassing case after he was booked on charges of trying to contact Hilton at her Hollywood Hills home; he was sentenced to three years' probation and ordered to stay 200 yards away from Hilton's property.
Rainford is currently being held on $20,000 bail.
Sign up now for the Us Weekly newsletter to get breaking celebrity news, hot pics and more delivered straight to your inbox!