DES MOINES (AP) — An Iowa farmer-turned-reality television celebrity charged with leaving the scene of a fatal accident is asking the Iowa Supreme Court to dismiss the felony charge before it goes to trial.

Chris Soules, who appeared on “The Bachelor” and “Dancing With The Stars” in 2015, filed an appeal to the state’s highest court Tuesday.

Soules struck a farm tractor driven by a neighboring farmer April 24 in a Buchanan County. He called 911 and waited for first responders but left before police arrived. The tractor driver, Kenneth Mosher, 66, of rural Aurora, later died.

Soules contends Iowa law doesn’t require surviving drivers of a fatal wreck to wait for police, but state prosecutors say it does.

A judge declined last month to dismiss the charge, which carries a five-year maximum prison sentence.