Acts 23:1-6

1 Paul looked intently at the Sanhedrin and said, "Brothers, I have lived my life before God in all good conscience until this day."
2 But the high priest Ananias ordered those who were standing next to him to strike him on the mouth.
3 Then Paul said to him, "God is going to strike you, you whitewashed wall! You are sitting there judging me according to the law, and in violation of the law are you ordering me to be struck?"
4 And those standing nearby said, "Do you dare revile God's high priest?"
5 "I did not know, brothers," Paul said, "that it was the high priest. For it is written, You must not speak evil of a ruler of your people. "[a]
6 When Paul realized that one part of them were Sadducees and the other part were Pharisees, he cried out in the Sanhedrin, "Brothers, I am a Pharisee, a son of Pharisees! I am being judged because of the hope of the resurrection of the dead!"

Footnotes 1

Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.