Shannon Stapleton / Reuters Supporters of the NYC Revolution Club burn the U.S. flag outside the Trump International Hotel and Tower in New York, U.S.

NEW YORK (Reuters) - A small group of hard-left activists burned foot-long U.S. flags outside the Trump International Hotel in New York on Tuesday, in an angry response to a tweet by President-elect Donald Trump that flag-burners should face legal consequences.

Social media was itself ablaze on Tuesday in response to Trump’s tweet, which suggested that burning the U.S. flag should be punishable by a year in jail or a revocation of citizenship.

Nobody should be allowed to burn the American flag - if they do, there must be consequences - perhaps loss of citizenship or year in jail! — Donald J. Trump (@realDonaldTrump) November 29, 2016

Trump’s provocative tweets on flag-burning and other topics, including efforts to recount the Nov. 8 presidential vote, came as the Republican worked to fill his Cabinet in advance of his inauguration in January.

The U.S. Supreme Court ruled in 1989 that flag-burning was not a crime but rather a form of protest protected by the First Amendment of the Constitution. The high court has also ruled more than once that citizenship cannot be revoked.

U.S. media outlets, including the New York Times, published articles detailing the court rulings, and some Republicans as well as Democrats took to social media to say Trump was in effect threatening to punish dissent despite constitutional protections.

Trump supporters also took to social media, pointing out that many politicians, including Trump’s Democratic presidential rival, Hillary Clinton, had proposed making flag-burning illegal.

Clinton, while a U.S. senator, co-sponsored a 2005 bill that would have made it a crime to incite violence by burning a flag, threaten another person with a burning flag or destroy or damage a flag belonging to someone else. The measure failed.

Tuesday’s protest in New York involved seven members of the Revolutionary Communist Party, a group that is not affiliated with the Communist Party of the United States, and whose members participated in flag-burning at the Republican National Convention in Cleveland in July.

(Writing and additional reporting by Sharon Bernstein; Editing by Peter Cooney