SAN DIEGO -- The CEO of a San Diego startup who threatened to assassinate President-elect Donald Trump has resigned.

Matt Harrigan, the founder of PacketSled, a cybersecurity firm, came under fire for comments he posted on his Facebook account on election night.

The Facebook page has since been deleted, but his comments surfaced on Reddit . According to screenshots posted on Reddit, one of the comments was "Nope, getting a sniper rifle and perching myself where it counts. Find a bedroom in the whitehouse that suits you mother******. I'll find you."

After learning about the comments, the company issued the following statement on Monday:

"PacketSled takes recent comments made by our CEO, seriously. Once we were made aware of these comments, we immediately reported this information to the secret service and will cooperate fully with any inquiries. These comments do not reflect the views or opinions of PacketSled, its employees, investors or partners. Our CEO has been placed on administrative leave."

However, in the early morning hours Tuesday, PacketSled announced on its Twitter page that Matthew Harrigan had resigned.

PacketSled Accepts Matthew Harrigan Resignation: pic.twitter.com/ukwLdeO9YO — packetsled (@packetsled) November 15, 2016

Harrigan also issued apologies on his Twitter account:

My humble apologies that a flawed joke has become public/out of context. My poor judgement does not represent the views of @packetsled … — Matt Harrigan (@mattharrigan) November 13, 2016

customers, investors or the officers of @packetsled. I have no malicious intention towards the #POTUS, and apologize to all for … — Matt Harrigan (@mattharrigan) November 13, 2016