When did Sega make Sonic the Hedgehog?

2006 no they made more sonic games in 2006 sega first made sonic in 1991 when they made the sega genesis and they made sonic there mascot