(CNN) โ€” A court will not force Google to sell off its Chrome browser or Android, a federal judge said in a court filing on Tuesday. The decision serves as a significant win for the tech company, which has avoided the most extreme possible outcome from a landmark antitrust case that determined the company was operating an illegal online search monopoly.

Although Google will not be forced to sell of its Chrome browser or Android, it will have to make certain search data available to qualified competitors to promote competition. It will also be barred from entering into or maintaining exclusive contracts related to the distribution of services like Chrome, Search, the Google Assistant and its Gemini app.

Those agreements provide a significant source of revenue for Google and broad access to its services, although the company had proposed ditching those contracts as a potential remedy in the case. US District Court Judge Amit Mehta said in a ruling Tuesday that he had accepted Googleโ€™s proposed remedies, in part.

The trial put Googleโ€™s core business under a microscope at a time when it is already under threat of being toppled by AI chatbots. And it comes as the company is also gearing up to defend the operation of its online advertising business after it, too, was found to be an illegal monopoly earlier this year.

โ€œGoogle will not be required to divest Chrome; nor will the court include a contingent divestiture of the Android operating system in the final judgment,โ€ the filing read.

In aย statementย on Tuesday, Google said the decision underlined how much the tech industry has changed with AI, which โ€œis giving people so many more ways to find information.โ€ However, it also cited privacy concerns with the agreements.

โ€œThe Court has imposed limits on how we distribute Google services, and will require us to share Search data with rivals. We have concerns about how these requirements will impact our users and their privacy, and weโ€™re reviewing the decision closely,โ€ the company said.

The Justice Department said in a statement on Tuesday that the ruling โ€œrecognizes the need for remedies that will pry open the market for general search services,โ€ and โ€œthe need to prevent Google from using the same anticompetitive tactics for its GenAI products as it used to monopolize the search market.โ€

โ€œWe will continue to review the opinion to consider the Departmentโ€™s options and next steps regarding seeking additional relief,โ€ the statement quoted Assistant Attorney General Abigail Slater as saying.

The ruling was closely watched across Silicon Valley, as other major tech giants are also fighting antitrust cases brought by the US government.

Mehta wrote that the rise of generative AI tools have โ€œchanged the course of this case,โ€ adding that ensuring Googleโ€™s dominance in search doesnโ€™t โ€œcarry over into the GenAI spaceโ€ was a key part of the remedies proceedings.

โ€œAnd, unlike the typical case where the courtโ€™s job is to resolve a dispute based on historic facts, here the court is asked to gaze into a crystal ball and look to the future,โ€ he wrote. โ€œNot exactly a judgeโ€™s forte.โ€

Mehtaย ruled last fallย that Google had violated US antitrust law with its search business, writing that the company โ€œis a monopolist, and it has acted as one to maintain its monopoly.โ€

In the weekslong โ€œremediesโ€ portion of the trial, Google argued that the Justice Departmentโ€™s proposed solutions would harm consumers by making it harder to access their preferred search engine and could stunt the US economy and American tech leadership. Chrome leader Parisa Tabriz testified that forcing Google to sell off Chrome would result in a โ€œshadow of the currentโ€ web browser and would likely make it โ€œinsecure and obsolete.โ€

Google has for years inked exclusive, multibillion-dollar contracts with device makers like Apple to secure its position as the default search provider on smartphones and web browsers, encouraging its dominance giving it what the court sees as being an unfair advantage that relies on consumer habit rather than choice. By 2020, 95% of all US search queries on mobile devices went through Google, Mehta noted in his opinion.

The move to prevent Google from entering into exclusive distribution deals is the courtโ€™s way of leveling the playing field. Google will be barred from entering into agreements that require companies to preload Google Search, Chrome, the Google Assistant or Gemini in order to license its popular Google Play app store.

But many phone makers will likely still include Googleโ€™s services because of their popularity, said Carolina Milanesi, president and principal analyst at tech research firm Creative Strategies.

โ€œThe value that these companies bring to the vendors and the people that partner with them is such that I donโ€™t know how many will decide not to preload their services,โ€ she said.

Google will still be allowed to pay partners to distribute its services โ€“ including its Search engine โ€“ on their products. Apple and Google have a lucrative deal in which the search giant pays the iPhone maker billions to be the default search engine on its web browser. Ending that partnership would have meant Google would no longer get default distribution on one of the worldโ€™s most popular smartphones, while yanking a lucrative source of revenue from Apple.

โ€œCutting off payments from Google almost certainly will impose substantialโ€”in some cases, cripplingโ€”downstream harms to distribution partners, related markets, and consumers, which counsels against a broad payment ban,โ€ the filing read.

Wedbush Securities analyst Dan Ives sees the ruling as a win for both Apple and Google, particularly following aย Bloomberg reportย that the two companies may partner to incorporate Gemini into Siri.

โ€œWhile in theory Google is barred from โ€˜exclusive dealsโ€™ for search this now lays the groundwork for Apple to continue its deal and ultimately likely double down on more AI related partnership with Google Gemini down the road,โ€ he said in a research note.

The outcome is a win for Google overall, says Robert Siegel, lecturer in management at the Stanford School of Business. But the decision to prohibit Google from entering into exclusive contracts means the company may have to try a little harder to entice consumers moving forward, especially amid heightened competition from rivals like OpenAI and Perplexity โ€“ the latter of which made an unsolicited, far-fetched offerย to buy Chromeย last month.

โ€œThis is all going to be about who delivers the best solution for how people interact with technology and AI going forward,โ€ Siegel said.