machi-yakko as their ancestors
The Yakuza, however, prefer to claim the idealist class of machi-yakko as their ancestors. With `kyoki wo kujiki yowaki wo tasukeru' (`help the weak and oppose the strong') as their clarion call, this group was at loggerheads with the rogue elements of society - the lawless gang of hatamoto-yakko in particular.
They helped the poor, safeguarded the honor of women and kept peace in the neighborhood by raising their swords against thieves, dishonest businessmen and corrupt samurais. Their success at keeping the local bullies in check elevated their position in public mind, and the machi-yakko class was revered and venerated until the samurais cut down their powers in the early 18th century, in an effort to control their popularity.