then momotaro tied the devil chief up and gave him into the monkey's charge. having done this, he went into all the rooms of the castle and set the prisoners free and gathered together all the treasure he found.