ALEXANDRIA, Va. (AP) — A Virginia man pleaded guilty to illegally possessing a machine gun following an undercover investigation in which he allegedly made racist comments on white-supremacist websites.

Douglas Story of Manassas made national headlines in 2010 when Virginia's Department of Motor Vehicles recalled his personalized license plate, 14cv88. The plate was an apparent coded reference glorifying Adolf Hitler, with "88" considered code for "Heil Hitler" since 'H' is the eighth letter of the alphabet.

The charges against Story in federal court in Alexandria result from an investigation in which Story sought to have his AK-47 assault rifle modified to fully automatic. Story admitted Friday that he paid $125 to people working undercover to have his rifle modified.

The initial charges against Story allege he made comments wishing for President Obama's assassination.