To make this whole affair less random, the kids were offered an early release by the Lord Prosecutor in return for discovering who smuggles magical components into the prison and why. They started asking around rather conspicuously and gotten beaten half to death by the Sons of the Dragon, a dragonborn racist gang with real weapons. In retribution, they improvised weapons from spoons and chairs, joined forces with the elves and the eladrin and staged a full-scale assault on the Sons' cell. Unbeknownst to them, the humanoid guards were replaced that day by a new kind of guard, one which takes neither bribes nor nonsense - a golem.
Art by Udon