SAN RAMON, Calif. — The U.S. government’s attempt to prove Google has been using its dominance of online search to stifle competition and innovation at the expense of consumers and advertisers won’t go to trial for nearly three years.

U.S. District Judge Amit Mehta on Friday set a tentative trial date of Sept. 12, 2023, for the landmark case that the Justice Department filed two months ago.

“This dispels the notion that we would go to trial quickly,” said Mehta during a conference call with government and Google lawyers to go over the ground rules for exchanging confidential documents and deposing top Google executives.

He estimated that once the trial begins, it will last about 5 ½weeks in his Washington, D.C., courtroom.

The prolonged wait for the trial underscores the complexity of a case seeking to defuse the power of a startup that sprouted from a Silicon Valley garage in 1998 and evolved into a $1 trillion company whose services are regularly used by billions of people around the world.

Between now and the trial’s opening, reams of documents peering into Google’s inner workings and its deals with Apple and other well-known companies are expected to be examined.

Many of the documents will be kept confidential, while others may be publicly released and peel back the curtain on the way Google operates.

Google has fiercely denied the government’s allegations that it has illegally struck a series of deals to thwart competition in the search market to help give it a stranglehold on a digital advertising market that has brought in more than $100 billion in revenue to the company during the first nine months of this year alone.