Good examples of early gates can be found at Abydos in Egypt (29th century B.C.E.) and at Troy II (early third millennium B.C.E.). See Alexander Badawy, Architecture in Ancient Egypt and the Near East (Cambridge: MIT Press, 1966), p. 57; and Yadin, Warfare in Biblical Lands, p. 57.