President Barack Obama. (AP Photo/Evan Vucci)

BALTIMORE (AP) — A Maryland man is facing federal charges after being accused of emailing a threat to kill President Barack Obama and his family.

The Secret Service says in an affidavit that Christopher Perkins O’Brien of Annapolis sent an email to the White House on Oct. 16 threatening the president and Michelle Obama.

Authorities say O’Brien identified himself in the message as “Mr. C.P. obrien” and listed a Maryland phone number.

They say when they contacted O’Brien, he ultimately admitted sending the email after denying it several times.

The affidavits says O’Brien told them that he never intended to carry out the threats and that he is too sick to cause anybody harm. Authorities said O’Brien expressed regret for sending the message, and felt embarrassed.