Freshman Rep. Alexandria Ocasio-Cortez on Thursday pushed back on a free-speech group who criticized her for blocking people on Twitter, saying she did so to avoid harassment.

AOC made the claim Thursday night while speaking to reporters after a town hall meeting about affordable housing in the Bronx.

“I’ve blocked less than 20 and it’s for harassment, not for political views,” she said.

“While people have a right to say whatever they want, they do not have a right to force me to hear it,” she added.

The 29-year-old Democrat said that her Twitter account is public and anyone can view her tweets from any web browser.

“But free speech isn’t an entitlement to force someone to endure your harassment,” she said.

On Wednesday, Columbia University’s Knight First Amendment Institute sent a letter to Ocasio-Cortez, accusing her of blocking users on Twitter because she doesn’t agree with their politics and calling the practice “unconstitutional.”

“[W]e are writing in the hope of dissuading you from engaging in it,” the group wrote.

“You use the account as an extension of your office — to share information about congressional hearings, to explain policy proposals, to advocate legislation and to solicit public comment about issues relating to government,” the letter read.

The letter comes after ex-Assemblyman Dov Hikind sued Ocasio-Cortez last month in Brooklyn federal court, claiming she blocked him on Twitter because of his “criticism” of her.