 For instance, the god Montu was the original patron of the city of Thebes.Over the course of the Middle Kingdom, however, he was displaced in that role by Amun, who may have arisen elsewhere.The national popularity and importance of individual gods fluctuated in a similar way.