For six years, they hid the sole surviving heir to the throne within Solomon's Temple. Jehoiada was instrumental in the staging of the coup d'état that dethroned and killed Athaliah. Under Jehoiada's guidance, Baal-worship was renounced and the altar and temple of Baal were destroyed.[1]