This protected Egypt from invasion