2 Kings 11:12

12Then he brought out the king’s son and put athe crown on him and gave him bthe testimony. And they proclaimed him king and anointed him, and they clapped their hands and said, c“Long live the king!”

2 Chronicles 22:11

11But Jehoshabeath,
Spelled Jehosheba in 2 Kings 11:2
the daughter of the king, took Joash the son of Ahaziah and stole him away from among the king’s sons who were about to be put to death, and she put him and his nurse in a bedroom. Thus Jehoshabeath, the daughter of King Jehoram and wife of Jehoiada the priest, because she was a sister of Ahaziah, hid him
That is, Joash
from Athaliah, so that she did not put him to death.
Copyright information for ESV