Man in two police chases sentenced to 30 years