SAN ANTONIO (AP) -

A judge has ordered a 23-year-old El Paso man to spend 18 months in a state jail facility for urinating on the Alamo.

State District Judge Ray Olivarri sentenced Daniel Athens on Monday in San Antonio.

Athens had pleaded guilty to felony criminal mischief in February in exchange for a deal that capped his possible punishment at 18 months. The crime usually is punishable by up to two years of incarceration.

Athens was also ordered to pay $4,000 in restitution - the cost of repairing the damage done to the facade of the 250-year-old building.

Athens was arrested in April 2012 after he was found urinating on a front wall of the shrine.