An Indiana state trooper has been fired after drivers complained that he gave them more than tickets and a lecture about road rules after pulling them over — he also shared a little religion on the roadside, in one case asking a woman if she had “accepted Jesus Christ as her savior.”

The State Police said on Friday that the trooper, Brian L. Hamilton, a 14-year veteran, was let go on Thursday for repeatedly proselytizing and for handing out a religious pamphlet during traffic stops.

The authorities said his termination was based on a complaint in January that said he had questioned a driver’s religious affiliations after pulling over the vehicle — the second time in about 18 months that the State Police were aware he had done so. After a similar episode in 2014, officials said, Trooper Hamilton was formally told not to question drivers about their religious beliefs or try to convert them.

The State Police superintendent, Douglas G. Carter, said in a statement, “While I respect Mr. Hamilton’s religious views, I am also charged to respect every citizen’s rights, and the best way forward for the citizens of Indiana, and for Mr. Hamilton, was to end his employment as a state police officer.”