Joash became king of Judah at the age of seven, and he ruled in Jerusalem for forty years. His mother was Zibiah from the city of Beersheba.