In 1692, the Jules Verne Train arrived in Salem due to its flux capacitor being damaged as it left Egypt. Trapped in the past, the Brown family had no choice but to get used to the local culture while Doc constructed a small remote control time machine to request help from Marty McFly in 1991. The Browns became aware of the harsh punishments and heavy superstition in the area.
After Marty McFly arrived with spare parts for the train, he spurned the advances of a young lady named Mercy, and she accused him of being a witch out of spite. Marty was condemned for being a witch without being able to defend himself, and was sentenced to the water test. Marty was saved by Doc, who, using the DeLorean time machine's submarine functionality, provided him with a makeshift scuba suit.