Siwa's oracle was famous across the Mediterranean world well before Alexander. Consulting it required a desert crossing, which was part of its authority.
The most famous story attached to the oasis is a disappearance. Herodotus records that a Persian army sent by Cambyses to destroy the oracle vanished in the desert on the way — fifty thousand men, the story says, swallowed by a sandstorm. No confirmed trace has ever been found, which has kept both the legend and the search alive.
The oasis kept a large degree of independence for most of its history, being too remote to govern easily, and was only firmly incorporated into Egypt in the nineteenth century.
Shali was founded in the thirteenth century as a fortified refuge and was largely abandoned after days of unusually heavy rain in the 1920s dissolved much of it.
In the Second World War the remoteness briefly became strategic: the British Long Range Desert Group used Siwa as a forward base for raids across the sand seas — one more chapter in a long history of the desert protecting the place.