She was convicted.
Post hoc ergo propter hoc.
The violation of the law was the cause of the conviction.