Complex sentence: Seven months later, the United States invaded Panama, and swore in Endara as the new president on the first night of the invasion on a U.S. military base.
Split into simpler sentences: Seven months later, the United States invaded Panama. Endara was sworn in as the new president on the first night of the invasion on a U.S. military base.