The Connecticut Supreme Court has overturned the ruling of a judge who ordered Bridgeport Superintendent of Schools Paul Vallas removed from his job because he wasn’t qualified.

Vallas, however, already has decided to leave the post to be Illinois Gov. Pat Quinn’s running mate for the 2014 election. Vallas previously led school districts in Chicago, Philadelphia and New Orleans.