Seeing as Herod Agrippa's previous killing of James, pleased the Jews. He persecuted Peter also for the same reason, as he wanted to win the confidence of the Jews in his government.