Google’s preeminence as an internet search engine is an illegal monopoly propped up by more than $20 billion spent each year by the tech giant to lock out competition, Justice Department lawyers argued at the closings of a high-stakes antitrust lawsuit.

Google, on the other hand, maintains that its ubiquity flows from its excellence, and its ability to deliver results customers are looking for.

The U.S. government, a coalition of states and Google all made their closing arguments Friday in the 10-week lawsuit to U.S. District Judge Amit Mehta, who must now decide whether Google broke the law in maintaining a monopoly status as a search engine.

Much of the case, the biggest antitrust trial in more than two decades, has revolved around how much Google derives its strength from contracts it has in place with companies like Apple to make Google the default search engine preloaded on cellphones and computers.