The earlier dam had fed the Folsom Powerhouse, generating electricity that was transmitted to Sacramento over a 22 miles -long distribution line, the longest electrical distribution system in the world at the time.