This continues the story of what happens after Joash, the son of King Azahiah, was hidden in the temple after all King Azahiah's other descendants were killed.
The phrases "commander of hundreds" is probably an official title for a military officer. Possible meanings are 1) the word "hundreds" represents the exact amount of soldiers that each of these commanders led. Alternate translation: "the commanders of 100 soldiers" or 2) the word translated as "hundreds" does not represent an exact number, but is the name of a military division. Alternate translation: "the commanders of military divisions" (See: [[rc://en/ta/man/translate/translate-numbers]])