United States' midfielder Sam Mewis (L) celebrate with United States' forward Megan Rapinoe (C) after scoring a goal during the France 2019 Women's World Cup Group F football match between USA and Thailand, on June 11, 2019, at the Auguste-Delaune Stadium in Reims, eastern France. (Photo by Lionel BONAVENTURE / AFP)        (Photo credit should read LIONEL BONAVENTURE/AFP/Getty Images)
LIONEL BONAVENTURE/AFP/AFP/Getty Images
United States' midfielder Sam Mewis (L) celebrate with United States' forward Megan Rapinoe (C) after scoring a goal during the France 2019 Women's World Cup Group F football match between USA and Thailand, on June 11, 2019, at the Auguste-Delaune Stadium in Reims, eastern France. (Photo by Lionel BONAVENTURE / AFP) (Photo credit should read LIONEL BONAVENTURE/AFP/Getty Images)
Now playing
01:02
US soccer star not interested in White House visit
ST. PAUL, MN - NOVEMBER 6:  Former U.S. Vice President Walter Mondale concedes the election to his Republican opponent Norm Coleman November 6, 2002 in St. Paul, Minnesota. Mondale and Coleman were in a race for U.S. Senate that was too close to call the evening before.  (Photo by Mark Erickson/Getty Images)
Mark Erickson/Getty Images
ST. PAUL, MN - NOVEMBER 6: Former U.S. Vice President Walter Mondale concedes the election to his Republican opponent Norm Coleman November 6, 2002 in St. Paul, Minnesota. Mondale and Coleman were in a race for U.S. Senate that was too close to call the evening before. (Photo by Mark Erickson/Getty Images)
Now playing
03:00
Walter Mondale dies at 93
george w bush congress immigration rhetoric cbs intv sot mxp vpx_00000000.png
george w bush congress immigration rhetoric cbs intv sot mxp vpx_00000000.png
Now playing
01:25
Bush calls on Congress to tone down 'harsh rhetoric' on immigration
WASHINGTON, DC - MARCH 23: Sen. Ted Cruz (R-TX) speaks at a Senate Judiciary Committee hearing on "Constitutional and Common Sense Steps to Reduce Gun Violence" on March 23, 2021 in Washington, DC.  Many senators spoke both for and against gun control the day after a shooting in Boulder, Colorado where a gunman opened fire at a grocery store, killing ten people. (Photo by Tasos Katopodis/Getty Images)
Tasos Katopodis/Getty Images
WASHINGTON, DC - MARCH 23: Sen. Ted Cruz (R-TX) speaks at a Senate Judiciary Committee hearing on "Constitutional and Common Sense Steps to Reduce Gun Violence" on March 23, 2021 in Washington, DC. Many senators spoke both for and against gun control the day after a shooting in Boulder, Colorado where a gunman opened fire at a grocery store, killing ten people. (Photo by Tasos Katopodis/Getty Images)
Now playing
03:18
Berman on Cruz's latest tweet: 'The pot calling the kettle violent'
Now playing
01:57
Chuck Hagel criticizes Trump's statement on Afghanistan
gun laws shootings Comer pamela brown nr vpx _00015627.png
CNN
gun laws shootings Comer pamela brown nr vpx _00015627.png
Now playing
02:23
'I can't answer that': Kentucky lawmaker responds to CNN on gun policy
Now playing
02:39
National security adviser: Russia will face consequences if Navalny dies in prison
Rep. Marjorie Taylor Greene (R-GA) speaks during a press conference outside the U.S. Capitol on February 5, 2021 in Washington, DC. The House voted 230 to 199 on Friday evening to remove Rep. Marjorie Taylor Greene (R-GA) from committee assignments over her remarks about QAnon and other conspiracy theories.
Drew Angerer/Getty Images
Rep. Marjorie Taylor Greene (R-GA) speaks during a press conference outside the U.S. Capitol on February 5, 2021 in Washington, DC. The House voted 230 to 199 on Friday evening to remove Rep. Marjorie Taylor Greene (R-GA) from committee assignments over her remarks about QAnon and other conspiracy theories.
Now playing
03:20
Marjorie Taylor Greene lashes out at media after backlash over controversial caucus
AP
Now playing
03:16
Maxine Waters: Jim Jordan is a bully and I shut him down
US Representative Marjorie Taylor Greene, Republican of Georgia, leaves her office on Capitol Hill on February 4, 2021 in Washington, DC.
NICHOLAS KAMM/AFP/Getty Images
US Representative Marjorie Taylor Greene, Republican of Georgia, leaves her office on Capitol Hill on February 4, 2021 in Washington, DC.
Now playing
03:51
Marjorie Taylor Greene launching 'America First' caucus
US President Joe Biden delivers remarks on Russia at the White House in Washington, DC on April 15, 2021. - The United States announced sanctions and the expulsion of 10 Russian diplomats Thursday in retaliation for what Washington says is the Kremlin's US election interference, a massive cyberattack and other hostile activity.
JIM WATSON/AFP/Getty Images
US President Joe Biden delivers remarks on Russia at the White House in Washington, DC on April 15, 2021. - The United States announced sanctions and the expulsion of 10 Russian diplomats Thursday in retaliation for what Washington says is the Kremlin's US election interference, a massive cyberattack and other hostile activity.
Now playing
02:22
White House backtracks on refugees decision after criticism
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Andrew Harnik/Pool/Getty Images
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Now playing
02:44
'National embarrassment': Biden reacts to mass shootings
MOSCOW, RUSSIA - APRIL 15:  Russian President Vladimir Putin (L) talks to talks to Foreign Minister Sergey Lavrov during a meeting with Uzbekistan President Islam Karimov in the Kremlin on April 15, 2013 in in Moscow, Russia. Karimov is on a state visit to Russia. (Photo by Sasha Mordovets/Getty Images)
Sasha Mordovets/Getty Images
MOSCOW, RUSSIA - APRIL 15: Russian President Vladimir Putin (L) talks to talks to Foreign Minister Sergey Lavrov during a meeting with Uzbekistan President Islam Karimov in the Kremlin on April 15, 2013 in in Moscow, Russia. Karimov is on a state visit to Russia. (Photo by Sasha Mordovets/Getty Images)
Now playing
02:07
Russia to expel 10 US diplomats in 'tit-for-tat response' to Biden sanctions
Now playing
03:10
Avlon: Here's what we know 100 days since the Capitol riot
A Russian flag flies next to the US embassy building in Moscow on October 22, 2018. - US national security advisor John Bolton is in Moscow holding meetings with senior Russian officials following Washington's weekend announcement of withdrawal from the Cold War-era Intermediate-Range Nuclear Forces Treaty, known as the INF. (Photo by Mladen ANTONOV / AFP)        (Photo credit should read MLADEN ANTONOV/AFP via Getty Images)
Mladen Antonov/AFP/Getty Images
A Russian flag flies next to the US embassy building in Moscow on October 22, 2018. - US national security advisor John Bolton is in Moscow holding meetings with senior Russian officials following Washington's weekend announcement of withdrawal from the Cold War-era Intermediate-Range Nuclear Forces Treaty, known as the INF. (Photo by Mladen ANTONOV / AFP) (Photo credit should read MLADEN ANTONOV/AFP via Getty Images)
Now playing
02:17
Political scientist: US-Russia relations are in the toilet
WASHINGTON, DC - JUNE 13: Rep. Michelle Lujan Grisham (D-NM) speaks during a news conference on immigration to condemn the Trump Administration's "zero tolerance" immigration policy, outside the US Capitol on June 13, 2018 in Washington, DC. (Photo by Toya Sarno Jordan/Getty Images)
Toya Sarno Jordan/Getty Images
WASHINGTON, DC - JUNE 13: Rep. Michelle Lujan Grisham (D-NM) speaks during a news conference on immigration to condemn the Trump Administration's "zero tolerance" immigration policy, outside the US Capitol on June 13, 2018 in Washington, DC. (Photo by Toya Sarno Jordan/Getty Images)
Now playing
02:39
Governor settles with former campaign staffer who accused her of sexual mistreatment
(CNN) —  

President Donald Trump railed against American women’s soccer co-captain Megan Rapinoe Wednesday after the soccer star said she wouldn’t go to the White House if the national team wins the World Cup before saying that he would invite them to visit “win or lose.”

“I’m not going to the f*****g White House,” Rapinoe told a reporter for Eight by Eight, a soccer magazine, when asked Tuesday if she was excited to go to the White House if her team wins.

“No. I’m not going to the White House. We’re not gonna be invited. I doubt it,” she added. She made the comments in January for the magazine’s Women’s World Cup issue, published in late May. Video from the interview was first released last week and has gained national attention in recent days.

In a series of tweets, Trump claimed that sports teams “love coming to the White House” and attacked Rapinoe, saying she “should WIN first before she talks!”

“Finish the job!” he said.

The President then extended an invitation “win or lose” to the US national team, which is competing in the Women’s World Cup, and plays host country France on Friday.

“We haven’t yet invited Megan or the team, but I am now inviting the TEAM, win or lose. Megan should never disrespect our Country, the White House, or our Flag, especially since so much has been done for her & the team. Be proud of the Flag that you wear,” he wrote.

USA defender Ali Krieger stood by Rapinoe after Trump criticized her teammate, writing on Twitter, “in regards to the ‘President’s’ tweet today, I know women who you cannot control or grope anger you, but I stand by @mPinoe & will sit this one out as well.”

“I don’t support this administration nor their fight against LGBTQ+ citizens, immigrants & our most vulnerable,” she added.

A spokesperson with US Soccer had no comment when reached by CNN.

Rapinoe has been outspoken about social justice issues. In 2016, she was among the first white professional athletes to show solidarity with football player Colin Kaepernick when media first began reporting on his kneeling during the national anthem. Rapinoe knelt during a game a month after it was first noticed that Kaepernick was kneeling.

She is also one of 28 players suing the United States Soccer Federation, alleging the men’s national team earns more than they do even though they play more games and win more matches.

Earlier this week during an Oval Office interview with The Hill, Trump said he doesn’t think it’s appropriate for Rapinoe to protest during the national anthem.

It’s unclear whether the team will accept the President’s invitation, but it’s hardly the first time the President has sparred with politically active athletes.

Other professional athletes have skipped out on invitations by Trump to visit the White House to celebrate recent wins, including the Boston Red Sox’ manager Alex Cora and MVP Mookie Betts, among others, during the team’s visit last month celebrating their World Series victory and Washington Capitals’ Braden Holtby following the team’s 2018 Stanley Cup win. The White House canceled the Philadelphia Eagles’ visit after the Super Bowl in 2018 when it became clear only a small number of players were going to attend. And the 2018 NBA champion Golden State Warriors spent time with former President Barack Obama during their trip to Washington instead of a White House visit this year.

CNN’s Amir Vera and Jillian Martin contributed to this report.