Original: The enslaved boyars, their families and some master masons were forced to labor until their deaths, rebuilding the old castle with materials from another nearby ruin.
Simplified: The boyars and their families were forced to work for months rebuilding the old castle.