pharisees religious group the pharisees were at various times a political party , a social movement , and a school of thought among jews during the second temple period beginning under the hasmonean dynasty ( 140 - 37 bce ) .