By the mid-1880s, Thomas Edison had built the first commercial electrical grid in New York City using direct current (DC), a technology that flows in a single steady direction. It worked, but had a severe practical limitation: DC power dropped off sharply over distance, meaning generating stations had to be built within about a mile of the customers they served — workable in dense cities, hopeless for anywhere else. Nikola Tesla, working first for Edison and then for rival industrialist George Westinghouse, developed practical alternating current (AC) systems, where the current periodically reverses direction, allowing transformers to step voltage up for efficient long-distance transmission and back down for safe home use.
Edison responded to this competitive threat aggressively, running a public relations campaign arguing AC was lethally dangerous — funding demonstrations electrocuting animals with AC current, and quietly encouraging the adoption of the AC-based electric chair for the first judicial execution by electrocution in 1890, specifically to associate the word 'alternating current' with death in the public mind. Despite this campaign, AC's technical advantages proved decisive: Westinghouse won the contract to light the 1893 World's Columbian Exposition in Chicago using AC, and then won the contract to harness Niagara Falls for large-scale power generation in 1895, transmitted as AC over considerable distance to Buffalo. By the end of the 1890s, AC had become the global standard, and General Electric — Edison's own company, after his ousting from its management — had itself switched to producing AC equipment.