Ofsted inspectors said the school had been 'transformed for the better'