Adventures of Sonic the Hedgehog - Season 1 Episode 37 Blackbot the Pirate
Overview: Robotnik goes time-traveling to find the four Chaos Emeralds that bestow the user unlimited power. His first stop is the time of Blackbeard the Pirate, where he enlists the pirate's help to find the first emerald.