King Shahryar (シャフリヤール王 Shafuriyāru-ō?) is a character in Sonic and the Secret Rings. He is the alternate reality doppelgänger of Dr. Eggman from the world of the Arabian Nights. He is also the main character of the Arabian Nights storybook, and the creator of the Arabian Nights.