The privatisation of the gas and electricity supply industries was enacted by Gas Act 1986 and the Electricity Act 1989. Section 1 of the respective Acts created the roles of Director General of Gas Supply and the Office of Gas Supply (Ofgas), and the Director General of Electricity Supply and the Office of Electricity Regulation (OFFER). These were economic regulators independent of government, but accountable to Parliament. This arrangement separated their regulatory decisions from political control and which aimed to provide greater long term regulatory certainty and to encourage market entry and investment. The duties of the regulators were prescribed in Section 4 of Gas Act 1986 and Section 3 of the Electricity Act 1989.