Verified Answer :

He was created by god.

The snake was lucifer and he got in because he was trusted but he was really evil... and had to be punished