US women's soccer co-captain Megan Rapinoe has accepted an invitation to visit the House of Representatives by Congresswoman Alexandria Ocasio-Cortez (D-NY) following a public spat with President Trump.

"It may not be the White House, but we’d be happy to welcome @mPinoe & the entire #USWMNT for a tour of the House of Representatives anytime they’d like," tweeted Ocasio-Cortez following the US's 2-1 win over France.

"Consider it done," replied the 33-year-old Rapinoe.

Consider it done @AOC 🥳 — Megan Rapinoe (@mPinoe) June 29, 2019

In an interview recorded in January but recently released, Rapinoe said "I’m not going to the f—ing White House," adding "'No, I’m not going to the White House. We’re not going to be invited. I doubt it."

President Trump responded to her comments, tweeting "leagues and teams love coming to the White House. I am a big fan of the American Team, and Women’s Soccer, but Megan should WIN first before she TALKS!."

Trump added "Megan should never disrespect our Country, the White House, or our Flag, especially since so much has been done for her & the team."

....in our Country’s history, and the poverty index is also best number EVER), leagues and teams love coming to the White House. I am a big fan of the American Team, and Women’s Soccer, but Megan should WIN first before she TALKS! Finish the job! We haven’t yet.... — Donald J. Trump (@realDonaldTrump) June 26, 2019

....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. The USA is doing GREAT! — Donald J. Trump (@realDonaldTrump) June 26, 2019

Rapinoe's teammate Ali Krieger piled on, tweeting "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."

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. — Ali Krieger (@alikrieger) June 26, 2019

Imagine if they lived in a country without the freedom to publicly condemn its leader.