Two Bakersfield men pleaded guilty Tuesday in a case where they were accused of kidnapping and robbing a U.S. Postal Service truck driver.

Raul Ojeda, 42, and Daniel Diaz, 26, pleaded guilty to aggravated robbery of mail, money and other United States property, according to a news release from the U.S. Department of Justice Eastern District of California.

On Oct. 16, 2009, Diaz entered the cab of the mail truck while it was stopped at a stop sign in Taft. He ordered the driver to go to a nearby abandoned hospital. Once there, he ordered the victim to tie himself up and threatened to kill him if he did not cooperate. Diaz took the victim's keys, opened the back of the truck and stole seven mail bags. Ojeda and Diaz admitted they took $12,711 in cash and $1,149.34 in checks, according to the news release.

Their sentencing is scheduled for Feb. 4. They face up to 25 years in federal prison, according to the news release.