AEMO was established by the Council of Australian Governments (COAG) on 1 July 2009 to manage the National Electricity Market (NEM) in the eastern and south-eastern states and Australian gas markets.