General Grievous

Grievous (a.k.a. The New Batman) use to be evil and use to serve the separatists but he betrayed them and turned to the good guys. He also appeared in My Little Pony:Friendship Is Grievous as the main protagonist.