 A total of eight dams and tunnels, the longest of which stretches 21600 feet , and nine powerhouses with a total installed capacity of 1,014 MW were built in stages spanning the 20th century, with the last powerhouse coming on line in 1987.