The law merchant was developed in the 11th century. Its main aim was to protect the foreign merchants not under the jurisdiction and protection of the local law. It also aimed to help the traders to negotiate contracts, partnerships, trademarks and var