Same happened to me on a big European technical University. I pushed for adopting a new course, I was the world expert in it, I thought the class for 10 years until someone in the government pushed for a real professor. Now they have another guy who is much less qualified than me, but I was very happy and successful in the private industry instead.
And in the end I thought in 3 different universities.