 Jehoash was raised in secret by Jehosheba's husband, a priest named Jehoiada.After six years of raising the boy in secret, Jehoiada revealed his existence and had him proclaimed King.Athaliah denounced this as treason, but a successful revolt was organised in his favour and Athaliah was put to death at the entrance of her palace.