Magubane served as director general for the Department of Energy between 2009 and 2014.