Officer Jeffrey Leach traded a chance to write a ticket for an opportunity to teach a lesson, Dunwoody police said.

Leach, who joined the Dunwoody Police Department last March, pulled a car over when he suspected a child wasn’t properly seated in a car seat, police said.

The driver admitted he didn’t have a seat for his youngest child and Leach, who works as one of the department’s car seat installation technicians, gave the man a choice.

Dunwoody police Officer Jeffrey Leach (right) allowed the driver of an SUV to buy a car seat at Target for his youngest child rather than writing him a ticket. (Credit: Dunwoody Police Department)

Credit: undefined

icon to expand image

Credit: undefined

Rather than pay a citation, the driver and his two children followed Leach to Target, where he helped them choose a safe and affordable seat.

Then, Leach installed it.

“We're super proud of Officer Leach for exercising a little compassion and helping keep our Dunwoody streets safe,” Lt. Fidel Espinoza said on Facebook.

RELATED: Sheriff reduces jail time for Georgia inmates who saved officer 

In other news:

Registered Sex Offender Moves In Next Door To Victim, Legally