The Three Gorges Dam project was completed on July 4, 2012. The dam was built for flood control, irrigation, and electricity. However, this has not come without problems. The dam covers a lot of historic sites and has caused 1.24 million people to lose their homes under the rising water. The dam forms the Three Gorges Reservoir, which extends nearly upstream to the city of Chongqing.