Borrowed from French major. Doublet of maior and mor.
Practice speaking and memorizing "major" and many other words and sentences in Portuguese.