AC power won the war of the currents in the late 19th century because it's compatible with transformers (and DC power is not). This made it cheaper and more practical to transmit across long distances at the time. However, recently, the war of the currents has been reignited. Read about that here.