on july 1, 1837, lyon entered the united states military academy at west point. william tecumseh sherman, who was a classmate and one year ahead of lyon, described him as a "lymphatic boy, who didn't seem to have energy enough to make a man." but lyon did well at the academy. he graduated in 1841, 11th out of a class of 52. lyon fought in the second seminole war in florida and in the mexican-american war. during the war with mexico, he received several promotions for gallantry under fire at the battles of mexico city, contreras, and churubusco. he was then sent to california where developed a reputation as an indian fighter. lyon was next sent to fort riley in kansas. there he began to develop strong support for the union as a result of the political climate developing in the state.