Would like to go into the law enforcement, but

When I was 17, I got two speeding tickets. And at the age of 18 I was arrested and taken to jail for criminal trespassing. I am 23 now and would like to go into the law enforcement, will my past prevent that from happening?
 
Top