is suing the New York state attorney general, arguing that she’s exceeding her authority in seeking to penalize the company for alleged failures in its pandemic safety protocols and treatment of workers at New York City warehouses.

In a complaint filed Friday in Brooklyn federal court, Amazon says Attorney General Letitia James’s office has threatened to sue if the retail giant doesn’t comply with a list of demands, which include subsidizing public bus service and reducing production targets required of workers in its warehouses.

The Seattle-based company seeks a court order that would prevent the New York attorney general from seeking to regulate Amazon’s actions in response to COVID-19, as well as claims of retaliation by workers who protest working conditions. Amazon says those responsibilities fall to the federal government.

The lawsuit is a preemptive salvo in a long-running clash between the world’s largest online retailer and a regulator that has publicly criticized Amazon’s response to the pandemic. The company’s complaint also amounts to a lengthy and detailed defense of its actions to protect employees, including a day-by-day chronicle of safety measures it rolled out as the respiratory virus spread around the U.S. last March and April.

“Amazon has been intensely focused on COVID-19 safety and has taken extraordinary, industry-leading measures grounded in science, above and beyond government guidance and requirements, to protect its associates from COVID-19,” the company said in its complaint.

James quickly returned fire.

“Throughout this pandemic, Amazon employees have been forced to work in unsafe conditions, all while the company and its CEO made billions off of their backs,” she said in a statement. “This action by Amazon is nothing more than a sad attempt to distract from the facts and shirk accountability for its failures to protect hardworking employees from a deadly virus.”


More on the COVID-19 pandemic

Amazon has been at odds with state regulators ever since workers at the company’s Staten Island facility walked off the job early in the pandemic to protest what they said were inadequate safety protections, the first of several wildcat strikes at Amazon facilities.

Amazon subsequently fired an organizer, Chris Smalls, for violating a quarantine order after being exposed to a colleague with COVID-19. Smalls has said he was punished for his activism. Several state officials and labor leaders criticized the firing, including James, who called it “immoral and inhumane.”

In the complaint, Amazon says the attorney general also asked it to compensate Smalls and Derrick Palmer, another Staten Island employee who sued the company unsuccessfully last year, arguing that the company’s working conditions put them and their family members at risk. A federal judge later dismissed that case, saying the plaintiffs should have brought their concerns to the federal Occupational Safety and Health Administration instead.

“Let me be clear: We will not be intimidated by anyone, especially corporate bullies that put profits over the health and safety of working people,” James said Friday. “We remain undeterred in our efforts to protect workers from exploitation and will continue to review all of our legal options.”