He remained in hiding in God's temple for six years, while Athaliah was ruling over the land. 