Amazon.com Inc. on Monday agreed to pull advertisements for a new television show featuring Nazi-inspired imagery from New York City's subway system, a transit official said, hours after Mayor Bill de Blasio called on the company to do so.

The advertisements for "The Man in the High Castle" completely wrap the seats, walls and ceilings of one train on the heavily utilized shuttle line that connects Times Square and Grand Central Terminal in Midtown Manhattan.

The show depicts an alternate reality in which Nazi Germany and Japan have divided control over the United States after winning World War II.