By Verna Gates
BIRMINGHAM, Alabama (Reuters) - A man from Uzbekistan living illegally in the United States pleaded guilty on Friday to terrorism and weapons charges involving threats to kill President Barack Obama.
Defendant Ulugbek Kodirov, 22, pleaded guilty in U.S. District Court in Birmingham, Alabama, to three charges as part of an agreement that spares him from a potential life sentence.
Kodirov is to be sentenced on May 17 and still faced up to 15 years in prison for providing material support for terrorist activity, up to 10 years for being an illegal alien in possession of a firearm and up to five years for threatening to assassinate the president.
Four other charges against him were dropped, and mainly involved additional threats to kill Obama. Details of the threats have not been released.
Kodirov was arrested in July at an Alabama motel after buying an automatic weapon from an undercover agent. Prosecutors said he came to the United States in 2009, but his student visa was revoked in April 2010 after he failed to enroll in school.
(Editing by Jane Sutton)