He excelled in history throughout his school years while his grades in other subjects remained average.
He performed well in history during his school years, but his grades in other subjects were average.