With the Election Commission (EC) on Monday announcing May 31 as the date for by-polls to Odisha’s Brajarajnagar Assembly segment, the model code of conduct came into effect in the entire Jharsuguda district, of which with the constituency is a part, Chief Electoral Officer S K Lohani said.