A cleaning woman who was sexually assaulted by a security guard while working at the Electronic Arts offices in Redwood City filed a lawsuit Monday against her attacker, the security firm he worked for, and the gaming company.

The woman, a San Mateo County resident, is employed by a company that provides cleaning services at Electronic Arts. The man who raped her, Raymond Nygard, was working for security contractor Allied Barton in early 2011 when the assaults occurred.

Nygard was sentenced in October to nine years in state prison for the attacks after pleading no contest to felony counts of forcible oral copulation and rape.

According to the San Mateo County District Attorney’s Office, Nygard assaulted the woman three days within a two-month period, once raping her and twice forcing her to perform oral sex. When she resisted, he threatened to report her to immigration officials or have her fired. The woman, a legal immigrant, reported the assaults to her supervisor.

The woman’s lawyer, Gustavo Pena, said although his client is still employed by the cleaning service, she is not required to work in the building where the assaults occurred.

“She does not want to go back there,” Pena said in a phone interview Tuesday. “It’s obviously been a very difficult recovery. She’s worked very hard with her therapist to get to a better place. But it’s not something that she’s ever going to be able to put behind her.”

According to the suit, filed in San Mateo County Superior Court, Allied Barton and Electronic Arts bear responsibility for the attacks because they “controlled the premises where plaintiff was assaulted on each occasion and failed to keep the premises safe for plaintiff.”

The two companies “knew or should have known” that Nygard “was stalking and assaulting plaintiff,” the suit states.

“Nygard was not supervised and allowed free reign of the premises. Defendant Nygard was caught on camera harassing, following and assaulting plaintiff on three separate occasions over a period of six weeks but (Allied Barton and Electronic Arts) did not review the film or notice that Nygard was manipulating security equipment to his advantage.”

The woman has suffered wage losses, hospital and medical expenses, loss of earning capacity and other damages, according to the suit; she is seeking an unspecified monetary compensation.

Nancy Tamosaitis-Thompson, a spokeswoman for Allied Barton, said Tuesday that the company had not yet reviewed the complaint and would not comment on pending litigation.

Similarly, John Reseburg, the senior director of corporate communications for Electronic Arts, said he could not comment on the matter because of the legal action being taken against the company.

Email Bonnie Eslinger at beslinger@dailynewsgroup.com; follow her at twitter.com/ bonnieeslinger.