A New York City man has been criminally charged with sending death threats on social media, in part because he was unhappy with Democrat Joe Biden being declared the winner of the presidential election, the U.S. Department of Justice said on Tuesday.

Members of the Joint Terrorism Task Force arrested Brian Maiorana, 54, at his Staten Island home on Tuesday after he posted threats directed towards protesters, politicians and law enforcement.

At a late afternoon hearing, a federal judge in Brooklyn ordered Maiorana detained while his lawyer works on a bail proposal, which the government plans to oppose.

Read more: U.S. News & World Report