# They were unable to find any excuse to punish them
Although the Jewish leaders threatened Peter and John, they could not find a reason to punish them without causing the people to riot.
# for what had been done
"for what Peter and John had done"