A characterization of the sporadic group of Lyons