Arrange the events in the order in which they happened.
1. The Persian army conquers Egypt.
2. Greek city-states unite in a revolt against the Persian Empire.
3. Cyrus the Great leads a revolt against the Medes.
4. Persepolis is built as the capital of the empire.