A pioneering school that survived against the odds