Follow CBSMIAMI.COM: Facebook | Twitter

BOSTON (AP) — A man who offered on social media to pay $500 to anyone who would kill a federal immigration officer was arrested on Thursday, prosecutors said.

READ MORE: Report: 25 AR-15 Rifles Missing From Miami Police Department's Inventory

Law enforcement officials said they hope the arrest of Brandon Ziobrowski sends the message that they will not tolerate a rise in threats against immigration officers and others amid increasingly heated political debates.

“The agents and officers out there enforcing federal laws are doing their job, plain and simple,” U.S. Attorney Andrew Lelling said. “Those who disagree with their mission are of course free to say so. But there is a difference between public debate and intentionally putting others in fear of their lives.”

Ziobrowski, of Cambridge, is charged with using interstate and foreign commerce to transmit a threat to injure another person. He was arrested in New York, where he was visiting a friend.

He made an initial court appearance in Brooklyn and was released on $50,000 unsecured bond and was ordered to wear a GPS monitoring bracelet until he turns in his passport on Friday.

READ MORE: Broward Transit Resumes Collecting Bus Fares On June 1st

Ziobrowski’s federal defender in New York declined to comment. No phone number for Ziobrowski was listed in public directories.

Authorities say Ziobrowski, who’s 33 years old, tweeted last month to his more than 400 followers, “I am broke but will scrounge and literally give $500 to anyone who kills an ICE agent.” He also responded to a tweet about U.S. Immigration and Customs Enforcement officers putting their “lives on the line” to make arrests by saying, “Thank you ICE for putting your lives on the line and hopefully dying I guess so there’s less of you?” according to court documents.

Ziobrowski also tweeted about his desire to kill Arizona U.S. Sen. John McCain and said guns “should only be legal for shooting the police like the second amendment intended,” prosecutors say.

Twitter suspended his account after it was alerted to the threat about the ICE agents, according to court documents.

“People who try to politicize our mission are within the legal right to freedom of speech,” said Peter Fitzhugh, special agent in charge of Homeland Security Investigations in Boston. “But when freedom of speech crosses a line into threats or offers to have federal law enforcement officers killed, we will never tolerate that.”

MORE NEWS: ‘Just Really Shaken Up’: CBS4 Crew Attacked On South Beach While Working Story About Efforts To Cut Down On Violence There

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)