Published: Aug 31, 2011 11:14 AM EDT
Updated: Aug 31, 2011 2:57 PM EDT

BALTIMORE (AP) - A Maryland man who claimed he served 28 years as an Army Green Beret will have to serve 21 months in federal prison.
 
Prosecutors say William Hillar used tales about his military exploits to pad his resume and land jobs teaching counterterrorism and drug and human trafficking interdiction,
 
Hillar pleaded guilty to wire fraud earlier this year. In addition to Tuesday's sentencing, he also must pay $170,000 in restitution to the law enforcement and first responder organizations and schools that hired him. He'll also have to perform 500 community service hours at Maryland's veteran cemeteries.
 
His scheme unraveled when a skeptical veteran emailed members of the Special Forces community to see if anyone knew of Hillar, who had claimed to have reached the rank of colonel.