Idk if i should ask this here

There was this animation/cartoon thing i watched like 10 or so years ago that I've been trying to find for literal years I dont remember much but there was this villain who made a metal dragon(that looked like those japanese long dragons) The dragon was controlled by a remote control(maybe idk it was so long ago) The villain made it eat all the people he didn't like until all the towns people were eaten and in was to full that it exploded and everyone who was eaten came out alive and fine One more thing that im not sure of is that i think the villain was previously a good person or maybe everyone thought he was but he actually wasnt