Former Rio Hondo officer faces a judge in corruption case

A Rio Hondo patrol car was used in the crime

A Rio Hondo police officer faced a judge after being accused of burglarizing a business while on the job.

According to reports, Ernesto Yanez picked up this friend while patrolling the city in a police unit and burglarized a local business last week.

Reports also revealed Yanez allegedly dropped a remote control from his patrol car camera at the scene that linked him to the crime.

Yanez and another man are suspected of stealing welding tools and materials.

Yanez fled to Houston and was captured.

Friday, he was extradited and faced a judge in Cameron County.

"When you you put on the badge and uniformed you're representing the entire county and the rest of the people of the United States," Sheriff Omar Lucio said. "To violate that trust it is bad. It is extremely sad."

Yanez has since resigned from the Rio Hondo Police Department.

He was charged with burglary of a building, abuse of official capacity, and tampering with governmental records.

Investigators said Yanez falsified the police report.

His bond was set at $50,000.