Thorax wasn't exactly a villan, but he was part of the changeling invasion in 'A Chanterlot Wedding'.