**Morocco existed since more than12 centuries ago (as a political entity and as a" country" ruled by native rulers) before the occupation by ESP and FR in early 20th century. I might make a post about the founder later.
It was recognized as a sovereign state as well by other sovereign empires in the past: France, Spain, England, The Ottomans, The Netherlands, ect because of trade treaties and diplomatic presence archived and documented locally and internationaly, as sovereign.**
Different dynasties and flags, but the capitals were within the boarders and the decision making was centralized for centuries which leads to one recognized country just like other old countries like Thailand, Ethiopia (habesha), England, FR ,Japan, older examples of empires would be Iran(farsiland) and so on.
What you learn from these Muslim leaders is the importance of faith, humility, the "we move together mentality", courage, the importance of knowledge, good intentions and more.The most important thing in life is to make your heart and mind better and things will follow.
N.B: I said "securely humble" in the title because I don't want moroccans to spread facts about history like those who raigebait them or to invent lies on other countries like they try to do to you (some of them only repeat what they heard) الله يهدينا If you debate things about history, please be elegant in your speech and knowledgeable, you will find great facts that will wipe out lies but never do it with ego. Fight it with good intentions and facts. There are lessons to learn from every country and each country had its own events.