Google is suing speaker-maker Sonos over alleged patent infringement. In two lawsuits filed in California federal court on Monday, Google alleges that Sonos’ latest voice-assistant technology violates seven different patents that relate it’s technology for Google Assistant. 

Google spokesperson José Castañeda said Sonos has “started an aggressive and misleading campaign against our products, at the expense of our shared customers,” and as a result the lawsuits are being filed to “defend our technology and challenge Sonos’s clear, continued infringement of our patents.”

Sonos launched its own voice assistant in June, allowing customers to control their speakers using voice commands starting with the phrase “Hey Sonos.”

Google says in the lawsuits that it has made its technologies available to users across the globe– “even providing its Google Assistant software to Sonos for many years.”

“Google engineers have worked for years assisting and instructing Sonos engineers regarding implementation of voice recognition and voice-activated device controls in Sonos’s products,” say the lawsuits. 

The lawsuits come amid a long legal battle between the two companies, who were once partners. Last year, the US International Trade Commission ruled Google infringed on five patents owned by Sonos. The win for Sonos led Google to change the way its smart speakers are set up and controlled

Sonos didn’t immediately have a comment on the new suits.