Complex sentence: Led by Napoleon Bonaparte in 1798 France invaded Egypt while they were forced to leave in 1800 they had a great social impact on the country and its culture.
Split into simpler sentences: Led by Napoleon Bonaparte in 1798 France invaded Egypt. While forced to leave in 1800, they had a great social impact on the country and its culture.