Harvey Weinstein's texting in court almost landed him in jail at the start of jury selection Tuesday as a judge rejected a defense request for a “cooling-off period” because of the burst of publicity over the filing of new charges against the Hollywood mogul in Los Angeles.

Weinstein's lawyers suggested that the timing of the new sex crime charges, announced on Monday, was deliberate on the part of prosecutors, and they asked for a delay to let the publicity subside.

"For a prosecutor, this is Christmas morning — the morning of jury selection to have him smeared everywhere," defense attorney Arthur Aidala said.

HARVEY WEINSTEIN VOWS HE'LL BE 'FULLY EXONERATED' AT NEW YORK TRIAL

Judge James Burke refused a postponement, saying he is confident the jury will understand Weinstein is presumed innocent, and the first 120 potential jurors were brought into the courtroom to fill out a questionnaire, the first step in a process that is expected to take weeks, given heavy news coverage of the case and the way the once-powerful studio boss has been cast as the archvillain of the #MeToo movement.

Harvey Weinstein arrives to court for the start of jury selection in his sexual assault trial Tuesday, Jan. 7, 2020, in New York.

Harvey Weinstein arrives to court for the start of jury selection in his sexual assault trial Tuesday, Jan. 7, 2020, in New York. (AP Photo/Seth Wenig)

Among the questions on the form: “If you have seen, read, or heard anything about the case, does that information affect your ability to be a fair and impartial juror?”

The day began with the 67-year-old Weinstein hobbling into court with a walker following recent back surgery, and the session soon erupted in legal fireworks, with the judge denying a request from prosecutors to revoke the defendant's bail and jail him until the trial is over. Prosecutor Joan Illuzzi argued that the new case in Los Angeles increased Weinstein's incentive to flee.

WEINSTEIN ACCUSER REVEALS SHE STILL HAS 'NIGHTMARES'

"There is a grave risk that this defendant will realize at some point that the evidence is overwhelming," she said.

While turning prosecutors down, Burke ripped into Weinstein and threatened to jail him for texting on his cellphone in the courtroom, a violation of a previous court order.

"Mr. Weinstein, is this really the way you want to end up in jail for the rest of your life by texting and violating a court order?" he said, cutting off the defendant before he could answer. This was not the first time the Hollywood producer had been admonished for so much as taking his phone out.

In a statement to Fox News, Weinstein's spokesman, Juda Engelmayer, said: “Mr. Weinstein never had any intention of upsetting the court. The use of his phone prior to the start of the proceeding, before the judge walked in, and from the gallery, was due to the misunderstand of the Judge’s requirement by Mr. Weinstein’s team. This whole scene could have been avoided had the bailiff, who saw his attorneys handing Mr. Weinstein his phones and reported it to the judge prior to his walking in, would have simply advised him then not to use it.”

Weinstein is charged in New York with raping a woman in a Manhattan hotel room in 2013 and forcibly performing a sex act on another woman in the city in 2006. He has said any sexual activity was consensual. The most serious charges against him carry a mandatory sentence of life in prison.

Harvey Weinstein arrives to court for the start of jury selection in his sexual assault trial Tuesday, Jan. 7, 2020, in New York.

Harvey Weinstein arrives to court for the start of jury selection in his sexual assault trial Tuesday, Jan. 7, 2020, in New York. (AP Photo/Mark Lennihan)

On Monday, prosecutors in Los Angeles charged him with sexually assaulting two women on successive nights at hotels in L.A. and Beverly Hills during Oscar week in 2013. Those charges could bring up to 28 years in prison.

FORMER TEEN MODEL ACCUSES HARVEY WEINSTEIN OF SEXUAL ASSAULT, FILES SEPARATE LAWSUIT: REPORT

As jury selection was about to begin, Weinstein attorney Donna Rotunno questioned the timing of the new charges, saying if anyone believes it was a coincidence, as the district attorney in Los Angeles insisted, “I'd like to sell them the Brooklyn Bridge.”

The judge estimated jury selection will take at least two weeks, with opening statements sometime after Martin Luther King Day on Jan. 20.

Once one of Hollywood's mightiest and most feared producers, Weinstein has been accused of rape, sexual assault, harassment or other misconduct by scores of women, from famous actresses to assistants at his company.

CLICK HERE TO GET THE FOX NEWS APP

The allegations, first exposed by The New York Times and The New Yorker in 2017, brought his downfall and helped spark the #MeToo movement against powerful men who prey on women.

The Associated Press contributed to this report.