Justin Sparks is leaving the Missouri Legislature after three years to join the Department of Homeland Security.