Was I stopped legally?
A motorist can be stopped for a variety of reasons, including improperly working equipment on your car, erratic driving or if an officer has a reasonable and explainable basis to believe that a traffic law or other law has been violated.
It is important to have a criminal defense attorney familiar with the 4th Amendment to ascertain whether or not the police lawfull stopped you. If they did not have a lawful reason to stop you, then everything that the police observed and did after the stop cannot be used against you, absent an exception.
Contact a Criminal Defense attorney to evaluate the facts and circumstances of your stop and arrest.