A veteran York County police officer was arrested on federal corruption charges Friday.

Fairview Township police officer Tyson Baker, 41, who has been with the department for 17 years, stole money from drug dealers who had been arrested, were pulled over for traffic stops or both, according to a statement from the U.S. Attorney's Office.

The Federal Courthouse in Harrisburg.

Baker also is accused of removing evidence that was subject to seizure and providing false information to federal authorities.

Baker "orchestrated" the theft of $2,000 in drug proceeds seized by the Fairview Township Police Department during a search of a house where several pounds of marijuana and about $14,000 in cash were found in November, according to the U.S. Attorney's Office.

On Wednesday, Baker fell into a trap set by the Federal Bureau of Investigation, with the full cooperation of the Fairview Township Police Department.

The FBI arranged for a vehicle driven by an undercover FBI agent to be stopped by Baker on Wednesday. Baker had the vehicle towed from the scene, and without a warrant and in spite of being told not to, he searched the vehicle and stole $3,000 hidden in it, the U.S. Attorney's Office said.

The case is being investigated by the FBI and multiple other agencies, including the state police.

Baker's first appearance in court was before U.S. Magistrate Judge Martin C. Carlson in the federal courthouse in Harrisburg on Friday afternoon.

If convicted, Baker could be sentenced to up to 20 years for violating the federal Hobbs Act, which prohibits interfering with interstate commerce by force, violation or intimidation. He could be sentenced to up to five years on each of the additional two counts filed in the complaint.