The third of the pairs, Yehudah b. Tabbai and Shimon b. Shetach served during the tumultuous reign of Alexander Yannai. Though Yannai's brother-in-law, Shimon had to hide at the height of Yannai's persecution of the Pharisees; while Yehudah fled to Egypt. Nevertheless, Shimon wrested control of the Sanhedrin away from the Sadducees.
Sources
A