Apple has filed a temporary restraining order against a man it says is harassing CEO Tim Cook and other members of Apple’s executive team. 
The court filings, which were first spotted by OneZero’s Dave Gershgorn, allege that a man named Rakesh Sharma has made threats against Apple and Cook, including leaving disturbing voicemails, posting sexual photos on Twitter and tagging Cook, and showing up on the CEO’s property in Palo Alto, twice. One time, Sharma attempted to deliver flowers and champagne to Cook, according to testimony by William Burns, Apple’s global security specialist, which was included in the court filing. 
The petition, which was filed in Santa Clara County Superior Court, asks for orders of protection for Burns, as well as other members of Apple’s executive security team. The court granted the petition in part, but only to protect Cook — Sharma has been ordered to stay away from Cook’s residence and Apple Park, but the court rejected the motion to ban Sharma from visiting any other Apple retail locations or homes of other Apple executives. 
The temporary restraining order will expire on March 3, when a hearing is scheduled.
Neither Apple’s lawyer nor a spokesperson for the company immediately responded to Business Insider’s request for comment on the restraining order.