JACKSON, Miss. (AP) — A longtime Mississippi lawmaker is resigning to spend more time with his family.

Democratic Rep. Robert Huddleston of Sumner has served in the state House of Representatives since 1996.

He submitted his resignation Wednesday, effective immediately.

During a brief farewell speech Thursday, the 62-year-old Huddleston said that after so many years in public office, he has other things he wants to do. He told his House colleagues: "I love you, but I've got to run."

House Speaker Philip Gunn, a Republican from Clinton, says Huddleston has been "a loyal friend to me and a great legislator."

Republican Gov. Phil Bryant will set a special election to fill the District 30 seat in parts of Bolivar, Quitman, Sunflower and Tallahatchie counties. The term ends in January 2020.