Answer
McClellan served with distinction during the Mexican-American War, where he earned recognition for his bravery and leadership. He played a crucial role in several key battles, including the Battle of Buena Vista, where he commanded a battery of artillery and helped repel a Mexican attack. McClellan's actions during the war earned him the respect of his superiors and established him as a promising military officer.