A Springdale man was sentenced to seven years in prison Thursday after he admitted he drove the car during a drive-by shooting.