New laws passed in response to riots