to the north were sheer cliffs leading down to a treacherous inlet , the east was guarded by the vast expanse of the eastern sea and the huge stone walls guarded the southern and western gates into the city .