Complex sentence: He was comissioned a major general of volunteers at the outbreak of the Mexican-American War and commanded the 2nd Division, Army of Occupation during the Tampico Expedition.
Split into simpler sentences: He was comissioned a major general of volunteers at the outbreak of the Mexican-American War. He commanded the 2nd Division, Army of Occupation during the Tampico Expedition.