Why not 'il était--'?
Because "mieux" is an adverb:
Sitesurf, your work here is just as helpful and important for me as the Duolingo exercises themselves! Thanks!
I would never understand this thing. Sometimes "c'etait" is marked wrong but in some sentence only "c'etait" is correct!
What a dark turn...