That's a fantastically cheeky answer, I know, but it's the truth.
To make a long story short, I was carved from an enchanted tree by a lonely carpenter who wanted a son. He made me into a living puppet. As long as I could be a good boy, I'd be made human.