sometime in the winter of ad 39/40 the greek population of jamnia in judea erected an altar to the imperial cult ( worship of the emperor ) and the resident jews promptly tore it down , resulting in serious communal rioting .