A nova lei entrou em vigor ontem.
The new law came into effect yesterday.
Ele foi punido por violar a lei.
He was punished for breaking the law.