MIAMI -- A South Florida college student has pleaded guilty in Miami federal court to threatening President Barack Obama on Facebook.

Twenty-year-old Joaquin Amador Serrapio Jr. pleaded guilty Wednesday to one count of threatening to kill or harm the president. He faces a maximum five-year prison sentence but likely would get far less under sentencing guidelines.

Federal prosecutors say Serrapio posted threats on Facebook in February to coincide with Obama’s visit to Miami to deliver 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.

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

Serrapio studies music business at Miami-Dade College and is also a rock musician.