 He was elected to the Vermont House of Representatives in 2016, unseating incumbent Democrat Sarah E. Buxton by one vote.Two years later in 2018, Ainsworth was defeated for re-election by John O'Brien.Ainsworth previously served as the State Representative from 2007 to 2011.