MIAMI (AP) — A Miami college student plans to plead guilty in federal court to threatening President Barack Obama on Facebook.

A plea hearing is set for Wednesday afternoon for 20-year-old Joaquin Amador Serrapio Jr. His attorney says he intends to plead guilty to one count of threatening to kill or harm the president.

READ MORE: Noise Complaints Rampant Through Miami Springs During Event In Hialeah

Federal prosecutors say Serrapio posted threats on Facebook in February when Obama was in Miami to give a speech.

The posts threatened to put a bullet in the president’s head and asked if anyone wanted to help in a presidential assassination.

READ MORE: SEE IT: Florida Woman Leads Police On Dramatic Chase Through Golf Course

There’s no indication Serrapio intended to act on the threats. His lawyer says Serrapio never wanted to hurt the president.

Serrapio faces a maximum five-year prison sentence. He attends Miami-Dade College and is also a rock musician.

MORE NEWS: Cadaver Dog Alerts To 'Something' In Heavily Wooded Area After Boyfriend Of Abducted Woman, Andreae Lloyd, Is Found Nearby

(© Copyright 2012 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)