The Latin root word is maiestatem, which means “greatness, dignity, or excellence,” and people first used the noun majesty to talk about God. It was England’s King Henry VIII who decided that majesty would be the official way to address a British monarch.

from vocabulary.com