A man accused of driving while impaired and hitting a St. Petersburg police officer early Saturday morning is behind bars.