Didn't Professor kill in X-Men Last Stand?

Rating: 9/10 (17 July 2019)

Fiction of moive is good. But this movie is inconsistent with other ones. In X-Men Last Stand, Proffesor Xavier killed by Jean Grey. But he is alive in this movie. It is weird.