The two settlements mark the end of Racine’s time in office, during which he took on a number of high-profile legal actions — including against the Washington Commanders, Amazon, and hate group the Proud Boys.

Carolyn Kaster / AP Photo

With just a few days left in his tenure, D.C. Attorney General Karl Racine is wrapping up more of the many lawsuits he filed against corporations in recent years. The latest? A $9.5 million settlement with Google to resolve allegations that the tech company deceived users to gain access to their location data, as well as a settlement with Grubhub.

Racine’s office accused Google of violating the D.C. Consumer Protection Procedures Act, alleging the company made it difficult for users to stop their location from being tracked. Though Google denies any wrongdoing in the settlement, the company agreed to the $9.5 million payment, and also agreed to be more transparent with users about how their data is being collected, stored, and used —and how they can opt out of location tracking.

Specifically, Google will have to send an email and issue a pop-up notification to users who have location activity enabled —or app settings that allow location activity — at the time of the notifications. The company will have to disclose whether location information is being collected and instruct users on how to disable each setting. It will also have to instruct users how to delete collected data and how to set data retention limits.

The settlement also bars Google from sharing user location data with third-party advertisers without the users’ express affirmative consent. As part of the deal, Google agreed to prepare an annual compliance report for the next four years to show that it is abiding its terms.

The Google settlement was announced on the same day that the Attorney General’s office reached a $3.5 million settlement with GrubHub. Racine sued the food delivery app for allegedly imposing hidden fees on users and utilizing “deceptive” marketing techniques. Grubhub also did not admit to any wrongdoing in its settlement with the AG’s office.

The AG’s complaint alleged that Grubhublisted menu items at higher costs than restaurants’ own menu prices while advertising that users could “order online for free,” and also that it listed restaurants on its platform that did not have a signed agreement with the food delivery app, a violation of District law.

The settlement requires Grubhub to detail each fee associated with its serviceseparately when users check out, and thecompany will also have to disclose fees on either search pages, menu pages, or through hyperlinks. It also requires the company to abide by the District’s law about listing restaurants that do not have a signed agreement to deliver through third-party delivery platforms.

Of the total Grubhub settlement, about $2.7 million will be returned to users affected by GrubHub’s policy, Racine’s office said.

“In the District, you can’t break the law to make a quick buck without facing consequences,” Racine said in a tweet.

The two settlements mark the end of Racine’s time in office, during which he took on a number of high-profile legal actions — including against the Washington Commanders, Amazon, and hate group the Proud Boys. According to Racine’s office, he’s brought in roughly $125 million in penalties and payments since 2015.