(NBC) A Boston-area man has been arrested by federal agents in New York after threatening U.S. immigration agents on Twitter.

Brandon Ziobrowski, 33, of Cambridge, Massachusetts, was arrested Thursday morning after posting on Twitter in July that he would give $500 to anyone who would kill an Immigrations and Customs Enforcement (ICE) agent.

According to the indictment, Ziobrowski had previously tweeted his desire to “slit” Sen. John McCain’s throat. Starting in February, he began to post tweets promoting violence against law

Note: Read our discussion guidelines before commenting.