An American court ruled to impose wide-ranging changes on the search engine operated by “Google” in an antitrust case filed by the Department of Justice, but at the same time rejected the government’s request to break up the company.

Judge Amit Mehta explained in a detailed ruling that Google’s practices granted it illegal monopoly power, pointing to new restrictions on how it directs traffic to its services.

However, the ruling did not include a ban on the deals the company makes to secure its search engine as the default option on smartphones and computers, which exceed $26 billion annually.

The judge also rejected the Department of Justice’s request to force Google to sell its Chrome browser, considering such a measure excessive, but required the company to make its accumulated search data available to competitors to enhance competition in the digital market.