Algerian boxer Imane Khelif has named Elon Musk and JK Rowling in a lawsuit filed to French authorities over alleged ‘acts of aggravated cyber harassment’ after they led outcry at her participation in the Paris Olympics.

Nabil Boudi, the gold medalist’s Paris-based attorney, told Variety that the Tesla mogul and Harry Potter author were both named in the criminal complaint posted to the anti-online hatred center of the public prosecutor’s office last week.

Boudi said that Khelif filed the lawsuit as part of her ‘fight for justice, dignity and honour’. The suit was filed against Musk’s social media network, X, which means it was filed against ‘unknown persons’ per French Law.

Boudi explained that it ensures that the ‘prosecution has all the latitude to be able to investigate against all people,’ including those who shared hateful messages under pseudonyms.

J. K. Rowling and Elon Musk are named in the lawsuit, among others,’ Boudi wrote on X, noting that Donald Trump would also be part of the investigation.

Possible repercussions for cyber-bullying offences in France are prison sentences ranging from two to five years and fines ranging from £26,000 to £39,000. If prosecuted as online hate speech, perpetrators could even be fined £64,000 to £214,000.

Algerian boxer Imane Khelif named Elon Musk and JK Rowling in a cyber harassment lawsuit

Algerian boxer Imane Khelif named Elon Musk and JK Rowling in a cyber harassment lawsuit

The Olympic gold medalist's attorney filed a suit against X, and named the high-profile stars

The Olympic gold medalist’s attorney filed a suit against X, and named the high-profile stars

‘Trump tweeted, so whether or not he is named in our lawsuit, he will inevitably be looked into as part of the prosecution,’ he added.

The news comes a few days after Khelif took home the gold medal in the women’s 66 kilogram boxing competition.

She emerged victorious after enduring a widespread campaign, in which she faced a torrent of questions over her gender.

The 25-year-old, who is not a transgender woman, allegedly has male ‘XY chromosomes’ which led to her disqualification from the 2023 world championships when she failed unspecified gender eligibility tests administered by the now-banned International Boxing Association.

Her participation against women boxers at the Games led to an outcry from some figures – including Musk and Rowling.

' J. K. Rowling and Elon Musk are named in the lawsuit, among others,' her lawyer wrote on X

‘ J. K. Rowling and Elon Musk are named in the lawsuit, among others,’ her lawyer wrote on X

Nabil Boudi explained that he hopes the 'prosecution [will] investigate against all people'

Nabil Boudi explained that he hopes the ‘prosecution [will] investigate against all people’

Trump shared a clip of Khelif's fight vs. Cerini and said he'd 'keep men out of women's sports'

Trump shared a clip of Khelif’s fight vs. Cerini and said he’d ‘keep men out of women’s sports’

In one post, Rowling shared a photo Khelif’s fight with Italy’s Angela Carini, accusing the Algerian of being a man who was ‘enjoying the distress of a woman he’s just punched in the head.’

Musk, for his part, re-shared swimmer Riley Gaines’ post that claimed ‘men don’t belong in women’s sports.’

‘Absolutely,’ the Space X boss added.

Meanwhile, Trump simply wrote, ‘I will keep men out of women’s sports,’ alongside a snap of Khelif’s bout with Carini.

Backlash against the boxer began when Carini abandoned their fight in just 46 seconds after she was hit twice, suffered a suspected broken nose and barely threw a punch.

The Italian then sank to her knees, beat the canvas in frustration and refused to shake Khelif’s hand as she conceding victory.

Meanwhile, Olympic bosses doubled down on their decision to allow Khelif – and Taiwan‘s Lin Yu-ting – to compete after they were disqualified from the 2023 world championship.

Shortly after the event, the IBA had their status stripped by the IOC over governance issues and alleged corruption.

The 25-year-old was cleared to compete in the women's category at the 2024 Paris Olympics

The 25-year-old was cleared to compete in the women’s category at the 2024 Paris Olympics

Angela Carini abandoned her fight with Khelif in 46 seconds before breaking down in tears

Angela Carini abandoned her fight with Khelif in 46 seconds before breaking down in tears

‘Every person has the right to practice sport without discrimination,’ the IOC said in a statement, which also attacked ‘misleading information about two female athletes.’

‘The IOC is saddened by the abuse that the two athletes are currently receiving.’