Ofgem is a non-ministerial government department, government by a board of officials appointed by ministers and called the Gas and Electricity Markets Authority.