(CNN) Freshman Rep. Alexandria Ocasio-Cortez is responding to people who criticized an old video of her dancing -- by posting a new video of her dancing.

"I hear the GOP thinks women dancing are scandalous. Wait till they find out Congresswomen dance too! Have a great weekend everyone," she tweeted, with a video of her dancing outside her new office on Capitol Hill.

I hear the GOP thinks women dancing are scandalous.



Wait till they find out Congresswomen dance too! 💃🏽



Have a great weekend everyone :) pic.twitter.com/9y6ALOw4F6 — Alexandria Ocasio-Cortez (@AOC) January 4, 2019

The video that sparked her response was widely shared on Twitter on Wednesday and appeared to show a younger Ocasio-Cortez gleefully dancing on the roof of a building. A day later, she was sworn in as the youngest woman in Congress.

"Here is America's favorite commie know-it-all acting like the clueless nitwit she is," read the tweet from AnonymousQ1776, who described it as a video from her high school days.

...High School video of Alexandria Ocasio-Cortez -- Congratulations New York! pic.twitter.com/VSKdUImhZj — Dan Jordan (@realdanjordan) January 2, 2019

But the 30-second edited clip is part of a 4-minute, 20-second video posted on YouTube eight years ago. And it was filmed at Boston University as part of a popular trend at the time. Ocasio-Cortez, who graduated from the university in 2011 with a degree in economics and international relations, was among a group of student dancers who took part in the video, which showed them imitating scenes from popular 1980s films.