 Complete the following phrase:  The Usage Princeps namque, dating from the 11th century, regulated the defense of the prince and the Principality, and became the basis of the organization of self-defense and paramilitary units throughout Catalan history, materialized in mutual-protection agreements known as Sagramental, while the militia corps was known as Sometent. The feudal system allowed to lordships, institutions and corporations to raise its own armies, as well as to be convened by the king due to feudal agreements, alongside to the vassals and subjects of the other realms, however, there was no standing army. Catalan soldiers played an important role in the expansion of the Crown to Valencia, Majorca and the Mediterranean. Catalan Galleys contributed to expand and secure the hegemony along the sea, while the army invested much of its resources in the 