A trial date of May 5 has been set for hip-hop mogul Sean “Diddy” Combs to face sex trafficking charges.

Combs appeared before Judge Arun Subramanian in Manhattan federal court. After entering the courtroom, he hugged each of his lawyers.

The judge also set deadlines for lawyers on each side to submit arguments that will establish the boundaries for the trial.

He set another date for Combs to appear in court in December, though he said lawyers may decide it is not necessary.

Sexual Misconduct Diddy
D’Lila and Jessie Combs, twin daughters of Sean Combs, arrive at Manhattan federal court (Yuki Iwamura/AP)

The judge was assigned to the case after another judge recused himself based on his past associations with lawyers in the case.

Combs, 54, has pleaded not guilty to charges lodged against him last month. The charges include racketeering conspiracy and sex trafficking based on allegations that go back to 2008.

At Thursday’s hearing, assistant US attorney Emily Johnson said 96 electronic devices were seized in raids in March on Combs’ residences in Miami and Los Angeles and at an unspecified private airport in Florida. She said another four devices were seized when Combs was arrested last month.

She added that eight devices seized in Miami contained more than 90 terabytes of information, which she labelled as “extraordinary” as she explained delays in extracting some information for technological reasons.

An indictment alleges he coerced and abused women for years with help from a network of associates and employees while silencing victims through blackmail and violent acts including kidnapping, arson and physical beatings.

Sexual Misconduct Diddy
Sean ‘Diddy’ Combs hugs his lawyer Anthony Ricco (Elizabeth Williams/AP)

Late on Wednesday, lawyers for Combs submitted court papers blaming the Department of Homeland Security for a leak to the media of a video of Combs punching and kicking his former protege and girlfriend, R&B singer Cassie, in a hotel hallway in 2016.

The lawyers claimed the video aired by CNN in May along with other alleged government leaks “have led to damaging, highly prejudicial pre-trial publicity that can only taint the jury pool and deprive Mr Combs of his right to a fair trial”.

After the video was broadcast, Combs posted a social media video apologising, saying “I was disgusted when I did it” and “I’m disgusted now”.

Federal prosecutors responded to the defence lawyers’ claims by telling the judge in a letter that the government was not in possession of the video before it was aired on CNN.

Combs’s lawyers have been trying to get the founder of Bad Boy Records freed on bail since his September 16 arrest.

Two judges have concluded that Combs would be a danger to the community if he was freed. At a bail hearing three weeks ago, a judge rejected a 50 million dollar bail package, including home detention and electronic monitoring, after concluding that Combs was a threat to tamper with witnesses and obstruct a continuing investigation.

In an appeal over the bail rulings to the 2nd US Circuit Court of Appeals, lawyers for Combs on Tuesday asked a panel of judges to reverse the bail findings, saying the proposed package “would plainly stop him from posing a danger to anyone or contacting any witnesses”.

They urged the appeals court to reject the findings of a lower court judge who they said had “endorsed the government’s exaggerated rhetoric and ordered Mr Combs detained”.