Niger first produced oil in 2011, but it has not generated wealth to improve living standards. Public sentiment has soured and protests against the extractive industries are common. Revisions to the mining and petroleum codes led to a higher share of revenues for local governments. Contract sanctity could deteriorate before elections in 2016. The landlocked country should expand production once a pipeline to Chad is opened in 2017. Finally security remains a large threat on all sides.