How were you contacted by the police?
I was pulled over for speeding.
I was pulled over for a traffic violation.
I was involved in an accident.