PHOENIX - A man is facing multiple charges after police say he tried to steal two trains from a Phoenix railyard.

According to court documents, officers responded to reports of a trespasser in the Union Pacific's Phoenix railyard. When they arrived, they found 20-year-old Julio Rodriguez sitting in the engineer's seat of the train, officers said.

Rodriguez allegedly told police he had climbed in and started moving levers and pushing buttons in order to make the train move.

In trying to work the controls, he had activated the horn excessively, drawing the attention of railyard employees, according to police.

Police said Rodriguez admitted he had been reading the instructions inside the train on how to operate it and that he hid from employees while he was inside.

According to court documents, if Rodriguez had moved a lever and applied the throttle, he would have been able to operate the train.

Police said the train was attached to another locomotive at the time of the incident. Thus, according to court documents, Rodriguez would have been able to steal two trains at once.

The estimated cost of a Union Pacific train is more than $500,000, according to the documents.

Rodriguez has been charged with burglary, theft and criminal trespassing.