An Australian swimmer has withdrawn from upcoming Olympic trials, citing misogynistic perverts in the sport.

Madeline Groves said in 2020 she had complained a few years ago about an unnamed person in the sport who had made her feel uncomfortable.

Announcing her decision to withdraw on Wednesday, she said: “Let this be a lesson to all misogynistic perverts… and their boot lickers…”

Swimming Australia said it takes sexual misconduct allegations seriously.

It also said it had contacted Groves about her initial allegations, made last November and December, but that she had declined to provide further information and that it had no record of any previous complaints.

Groves won silver medals in 200 metres butterfly and 4-by-100 medley at the 2016 Rio Games.

In the social media post on Wednesday explaining her decision to withdraw, she said: “You can no longer exploit young women and girls, body shame or medically gaslight them and then expect them to represent you so you can earn your annual bonus. Time’s UP.”

She said she was not quitting the sport and is still planning on racing in competitions later in the year.