Google will pay Washington state US$39.9 million to resolve a lawsuit accusing the Alphabet unit of misleading consumers about its location tracking practices, state Attorney General Bob Ferguson said on Thursday (May 18).

The settlement resolves claims that Google deceived people into believing they controlled how the search and advertising company collected and used their personal data.

In reality, the state said Google was able to collect and profit from that data even if consumers disabled its tracking technology on their smartphones and computers, invading consumers’ privacy.