Before the civil war, Yemen's electricity was primarily supplied by the Ma'rib gas-fired power plant, which came online in 2009 and supplied 27 to 40 percent of the country's electricity while active. (Before that, power came from six diesel power plants in Sanaa itself.) The Ma'rib plant is connected to the Bani Hushaysh substation by a power line with a capacity of 400 kV, and the Bani Hushaysh substation is then connected to substations in Dhahban and Hizyaz by two 132-kV lines. However, the Ma'rib-Sanaa power line was frequently targeted by attacks; there were 54 attacks on the power line between 2010 and 2013. The Ma'rib plant ceased operations in 2015.