The avenue of the ram-headed sphinxes flanks the route from the Nile to the temple entrance .
These ram sphinxes are dedicated to a great Pharaoh who repelled an attack from looters bent on raiding the temple .