King Shahryār is the alternate doppleganger of Doctor Ivo "Eggman" Robotnik within the world of Sonic and the Secret Rings. Upon first meeting Shahryār - and noting the King's resemblance to his great nemesis - Sonic is naturally suspicious of the obese sultan and seems apprehensive in trusting him. However, as the story progresses, it becomes apparent that Shahryār really doesn't share the grandiose megalomania of his alternate self (or the other alternate self), and instead the King in fact serves as a minor ally for Sonic in his quest to thwart Erazor Djinn.
|Characters in the Sonic the Hedgehog game series|
|Heroes||Sonic (Super, Hyper, Darkspine, the Werehog, Excalibur) | Tails (Super) | Knuckles (Super, Hyper) | Amy Rose | Cream | Big | Blaze (Burning) | Emerl | Silver (Super) | Marine | Lumina Flowlight | Chip | Shahra | Knights of the Round Table | Caliburn | Yacker | Sticks | Avatar|
|Anti-heroes/ Neutrals||Shadow (Super) | Rouge | Espio | Charmy | Vector | Mighty | Ray | Chaos (Perfect) | E-102 Gamma | E-123 Omega | Bean | Bark | Jet | Wave | Storm | Shade | Merlina|
|Villains||Dr. Eggman | Metal Sonic (Kai, Rocket, Neo, 3.0) | Mecha Sonic (Super) | Fang | Witchcart | Battle Kukku Army (15th, Speedy, Dr. Fukurokov) | Tails Doll | Metal Knuckles | E-Series | ZERO | Void | Biolizard | Gemerl | Eggman Nega | Black Doom | Angelus | Iblis | Mephiles | Solaris | Erazor Djinn | Captain Whisker | Johnny | Master Core: ABIS | Ix (Super) | Dark Gaia | King Arthur | Orbot | Cubot | Deadly Six (Zavok, Zazz, Zomom, Master Zik, Zeena, Zor) | Lyric | Hard-Boiled Heavies | Infinite|
|Teams||Sonic/Heroes | Rose | Dark | Chaotix | Babylon|
|Other||Gerald & Maria Robotnik | Froggy | Chao | Omochao | Cheese | Chocola | Vanilla | Tikal | Pachacamac | E-101 Beta | Illumina | President | G.U.N. Commander | Elise | Duke of Soleanna | Coconut Crew | Vikings | Professor Pickle | Wentos | Don Fachio | Heavy and Bomb | Tiara Boobowski | Honey | Flicky | Animals | Wisps|