the targaryen dynasty had produced kings both bad and good , but none as beloved as baelor , that pious gentle septon-king who loved the smallfolk and the gods in equal parts , yet imprisoned his own sisters .