A Silicon Valley head honcho posted the following on Facebook over the weekend and thought the internet would take it as a joke:

“I’m going to kill the president. Elect(sic)…getting a sniper rifle and perching myself where it counts.”

Matthew Harrigan, the president and CEO of internet security and cloud forensics firm PacketSled, resigned from the company this morning after being roundly condemned for these posts (widely shared on Reddit) in which he threatened to kill President-elect Donald Trump.

“Find a bedroom in the whitehouse (sic) that suits you motherfucker. I’ll find you,” he added. “Bring it secret service (sic).”

Harrigan first responded to the online uproar with an apologetic statement over the weekend.

“My recent facebook (sic) comment was intended to be a joke, in the context of a larger conversation, and only privately shared as such,” he wrote. “Anyone who knows me, knows that I do not engage in this form of rhetoric with any level of seriousness and the comment most certainly does not represent my real personal views in any regard. I apologize if anything that I said was either taken seriously, was offensive or caused any legitimate concern.”

Given that the criticism persisted, however, Harrigan tendered his resignation today.

“We want to be very clear, PacketSled does not condone the comments made by Mr. Harrigan, which do not reflect the views or opinions of the company, its employees, investors or partners,” the PacketSled Board of Directors said in a statement.

Fred Wilmot, the company’s Chief Technology Officer, will now serve as PacketSled’s interim CEO.

Disclosure: Donald Trump is the father-in-law of Jared Kushner, the publisher of Observer Media.