The Second Sudanese Civil War formally ended in January 2005 with establishment of an autonomous Government of South Sudan (GoSS) and a defined process to move towards a referendum on full independence. Angelina Teny was state minister of Energy and Mining in the Khartoum-based Government of National Unity between 2005 and 2010.[6] At a November 2006 conference on Oil and the Future of Sudan, held in Juba, she noted that there had been considerable controversy over the Ministry of Energy and Mining when the Government of National Unity was being formed. The oil industry had been developed during the civil war as a means to finance that war, at great human cost, and military concerns had dictated the structure of the industry.