In the Late Bronze Age, Jerusalem was the capital of an Egyptian vassal city-state, a modest settlement governing a few outlying villages and pastoral areas, with a small Egyptian garrison and ruled by appointees such as king Abdi-Heba, At the time of Seti I (r. 1290–1279 BCE) and Ramesses II (r. 1279–1213 BCE), major construction took place as prosperity increased.