"But when Herod heard this, he said, 'John, the man I beheaded, has been raised from the dead!' For Herod himself had given orders to have John arrested, and he had him bound and put in prison. He did this because of Herodias, his brother Philip's wife, whom he had married. For John had been saying to Herod, 'It is not lawful for you to have your brother's wife.'" NIV translation
Herod was convinced that John the Baptist had returned from the dead. He had been arrested by Herod for calling him to repent for taking his brother's wife for himself. As the herald for Jesus, John went first calling people to repent and he did so for all men. It didn't make any difference whether it was a common man or even the king as John simply focused on his purpose.
There are a great many people, today, who will loudly proclaim the gospel as long as it is in a church. Many times, they will not stand up and preach the truth in the streets or in the halls of power. If we want to be true heralds for the return of Jesus Christ, we must faithfully proclaim the gospel even to people that don't want to hear it.