What powered the first reliable streetcars?

What powered the first reliable streetcars?