BALCONES HEIGHTS, Texas (AP) _ A police officer was shot to death when he pulled over a man for speeding and then tried to arrest him on an outstanding traffic ticket, authorities said.

Patrolman Richard Scott Rogiers, 29, a six-year veteran of the force in this San Antonio suburb, was shot in the back of the head early Saturday. He died early Sunday at Medical Center Hospital in San Antonio, said a hospital spokesman.

Police said they arrested Robert Sanchez, 34, a San Antonio insurance salesman, about 45 minutes after the shooting.

Investigators said Rogiers had stopped the driver of a Mercury for speeding and ran a routine warrant check on the man's driver's license. After learning the driver had an outstanding San Antonio traffic citation, Rogiers returned to the Mercury and tried to arrest the driver. Police on duty during the weekend would not give details on the citation.

A scuffle ensued and Rogiers was shot in the back of the head with a small- caliber weapon, officers said.

''He was one you don't expect something like this to happen because he's cautious, he's good,'' said Balcones Heights emergency dispatcher Ben Hoeffner.

When officers discovered Rogiers, his service revolver was still in his holster and the driver's license belonging to the motorist was tucked into his gun belt, the Light reported.

Officers later found Sanchez hiding in a wooded area near the residence listed on the driver's license.

Sanchez, who reportedly had no previous criminal record, was being held on attempted capital murder charges in lieu of $1 million bail. Officials said the charge would be upgraded to capital murder because of the death of Rogiers, who had a 2-year-old son.