A man has been jailed and banned from driving for more than seven years after pleading guilty to a number of driving offences.