The Israelites are led in the battle by Joshua, while Moses, Aaron and Hur watch from a nearby hill. Moses notices that when his arms are raised the Israelites gained the upper hand, but when they are down the Amalekites prevail. He sits with his hands held up by Aaron and Hur until sunset, securing the Israelite victory.[2]