Cyprus is at a strategic location in the Middle East. It was ruled by Assyria for a century starting in 708 BC, before a brief spell under Egyptian rule and eventually Persian rule in 545 BC. The Cypriots, led by Onesilus, king of Salamis, joined their fellow Greeks in the Ionian cities during the unsuccessful Ionian Revolt in 499 BC against the Achaemenid Empire. The revolt was suppressed, but Cyprus managed to maintain a high degree of autonomy and remained inclined towards the Greek world.