Iran’s only female Olympic medalist announced she has defected from the Islamic Republic — posting a blistering online letter over the weekend describing herself as “one of the millions of oppressed women in Iran.”

Taekwondo champion Kimia Alizadeh, 21 — who won a bronze medal at the 2016 Rio Olympics — attacked the “hypocrisy, lies [and] injustice” of her homeland Saturday as she revealed she’d fled to Europe.

“I am one of the millions of oppressed women in Iran whom they’ve been playing for years,” she wrote in an Instagram post accusing Iranian officials of sexism and other mistreatment.

“I wore whatever they told me and repeated whatever they ordered. Every sentence they ordered I repeated,” she said, adding that she was angry at being forced to wear her country’s mandatory hijab headscarf while competing.

“None of us matter for them, we are just tools,” she raged.

The athlete said that while Iran’s government took advantage of her medals politically, officials would also humiliate her, making remarks such as, “It is not virtuous for a woman to stretch her legs!”

Alizadeh reportedly fled to the Netherlands, though said she has yet to be asked by another country to continue to compete in her sport.

“But I accept the pain and hardship of homesickness because I didn’t want to be part of hypocrisy, lies, injustice,” Alizadeh wrote.

Still, she assured the “dear Iranian people” that she would remain “a child of Iran,” wherever she is.

News of her disappearance shocked Iran.

Iranian parliament member Abdolkarim Hosseinzadeh accused “incompetent officials” of allowing the country’s “human capital to flee,” according to Agence France-Press.

A deputy Iranian sports minister, Mahin Farhadizadeh, suggested that Alizadeh defected simply to pursue her education.

“I have not read Kimia’s post, but as far as I know, she always wanted to continue her studies in physiotherapy,” he told the news agency ISNA.

ISNA suggested that Alizadeh may still try to compete under another nation’s flag at the 2020 Olympic Games in Tokyo this summer.

In recent years, many Iranian athletes have left their country, citing government pressure.

In December, the Iran Chess Federation announced top-rated champion Alireza Firouzja had decided not to play for the Islamic Republic over its informal ban on competing against Israeli players.

In September, Saeid Mollaei, an Iranian judoka champion, left the country for Germany over fears for his safety after he ignored orders from the International Judo Federation to pull out of fights to avoid a potential final matchup with an Israeli fighter, according to reports.

Alireza Faghani, an Iranian international soccer referee, also left Iran for Australia last year.

Following her 2016 victory over Sweden’s Nikita Glasnovic, Alizadeh said, “I am so happy for Iranian girls because it is the first medal, and I hope at the next Olympics, we will get a gold.

“I thank God that I made history with my bronze to pave the way for other Iranian women.”

With Wires