Imperial invasion of Earth

The First Terran-Imperial war, also known as the Imperial Invasion of Earth, was a conflict between the United Nations, the Galactic Empire, and the Islamic Fundamentalist groups, who saw an opportunity to establish a new world-wide Caliphate.

The U.N victories at the Second Battle of Cartagena and the Third Battle of Jerusalem in 16 BBY convinced the Empire that the goals of the invasion were impossible to accomplish, leading to a complete withdrawal of the Imperial Army in 16 BBY, leaving several ships and weapons behind, which were used by the Terrans to create an authentic space miliatry, and later allowed them to take party in the Galactic Civil War on the rebel side