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
President Joe Biden speaks about reaching 300 million COVID-19 vaccination shots, in the State Dining Room of the White House, Friday, June 18, 2021, in Washington.
Evan Vucci/AP
President Joe Biden speaks about reaching 300 million COVID-19 vaccination shots, in the State Dining Room of the White House, Friday, June 18, 2021, in Washington.
Now playing
01:31
'A private matter': Biden on US Catholic bishops' potential rebuke
Critical Race Theory
KSDK
Critical Race Theory
Now playing
04:39
Mom gets emotional during heated forum on critical race theory
FILE - This June 8, 2021 file photo shows the Supreme Court building in Washington. A Thursday, June 17, 2021 Supreme Court ruling that favored Catholic Social Services in Philadelphia was far from the constitutional gale wind that would have reshaped how courts interpret religious liberty under the First Amendment. Governmental entities are now on notice that if they want to ban discrimination against LGBTQ persons or anyone else, they had better not allow for any exceptions -- or else religious groups will have the right to ask for them, and they'll have a strong case for getting them. (AP Photo/J. Scott Applewhite)
J. Scott Applewhite/AP
FILE - This June 8, 2021 file photo shows the Supreme Court building in Washington. A Thursday, June 17, 2021 Supreme Court ruling that favored Catholic Social Services in Philadelphia was far from the constitutional gale wind that would have reshaped how courts interpret religious liberty under the First Amendment. Governmental entities are now on notice that if they want to ban discrimination against LGBTQ persons or anyone else, they had better not allow for any exceptions -- or else religious groups will have the right to ask for them, and they'll have a strong case for getting them. (AP Photo/J. Scott Applewhite)
Now playing
03:32
Obamacare has survived over 2,000 attempts to kill it
mike pence heckled at conservative conference vpx _00000918.png
CNN
mike pence heckled at conservative conference vpx _00000918.png
Now playing
02:21
Mike Pence heckled at conservative conference
This Morning
Now playing
03:22
Ted Cruz: Critical race theory is as racist as Klansmen
YouTube/Department of Justice
Now playing
03:56
New video shows police getting punched during Capitol riot
CNN
Now playing
03:55
See grandmother's priceless reaction after Juneteenth bill passes
US President Donald Trump speaks during a "Make America Great Again" rally at the Eastern Kentucky University, in Richmond, Kentucky, on October 13, 2018. (Photo by Nicholas Kamm / AFP)        (Photo credit should read NICHOLAS KAMM/AFP via Getty Images)
NICHOLAS KAMM/AFP/AFP via Getty Images
US President Donald Trump speaks during a "Make America Great Again" rally at the Eastern Kentucky University, in Richmond, Kentucky, on October 13, 2018. (Photo by Nicholas Kamm / AFP) (Photo credit should read NICHOLAS KAMM/AFP via Getty Images)
Now playing
04:19
Haberman: This underscored for Trump that he's not president
WASHINGTON, DC - MARCH 29: Fox News host Tucker Carlson discusses 'Populism and the Right' during the National Review Institute's Ideas Summit at the Mandarin Oriental Hotel March 29, 2019 in Washington, DC. Carlson talked about a large variety of topics including dropping testosterone levels, increasing rates of suicide, unemployment, drug addiction and social hierarchy at the summit, which had the theme 'The Case for the American Experiment.'  (Photo by Chip Somodevilla/Getty Images)
Chip Somodevilla/Getty Images
WASHINGTON, DC - MARCH 29: Fox News host Tucker Carlson discusses 'Populism and the Right' during the National Review Institute's Ideas Summit at the Mandarin Oriental Hotel March 29, 2019 in Washington, DC. Carlson talked about a large variety of topics including dropping testosterone levels, increasing rates of suicide, unemployment, drug addiction and social hierarchy at the summit, which had the theme 'The Case for the American Experiment.' (Photo by Chip Somodevilla/Getty Images)
Now playing
02:48
Carlson promotes conspiracy that FBI planned Capitol riot
CNN
Now playing
02:55
Abrams says she is open to Manchin's voting rights legislation
CNN
Now playing
01:56
Toobin: Huge victory for Obamacare, but fight isn't over
Split Fanone Clyde
CNN/Pool
Split Fanone Clyde
Now playing
04:26
DC officer Fanone recalls interaction with GOP Rep.: He ran away 'like a coward'
President Joe Biden and Russian President Vladimir Putin, arrive to meet at the 'Villa la Grange', Wednesday, June 16, 2021, in Geneva, Switzerland.
Patrick Semansky/AP
President Joe Biden and Russian President Vladimir Putin, arrive to meet at the 'Villa la Grange', Wednesday, June 16, 2021, in Geneva, Switzerland.
Now playing
02:58
Biden and Putin hold first face-to-face meetings
Now playing
03:40
Arizona voting data taken to so-called 'lab' in remote Montana
President Joe Biden speaks to the news media following a news conference after meeting with Russian President Vladimir Putin, Wednesday, June 16, 2021, in Geneva, Switzerland.
Patrick Semansky/AP
President Joe Biden speaks to the news media following a news conference after meeting with Russian President Vladimir Putin, Wednesday, June 16, 2021, in Geneva, Switzerland.
Now playing
03:45
Biden apologizes for firing back at CNN's Kaitlan Collins after question
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.