In 2013 Damascus lost control of all of its major oil fields when Isil captured parts of Deir Ezzor and Raqqa provinces in the north of the country. But it managed to keep many of its gas fields and so was able to continue to feed its power plants and produce electricity.