Human rights are rights that belong to all people. The main function of law is to protect human rights by establishing rules and penalties. While the idea of human rights can be traced back to early civilizations, the modern concept developed in the 20th century. The League of Nations and United Nations both aimed to promote and uphold human rights, and many declarations and agreements have aimed to further define human rights. However, debates still continue around what constitutes human rights, and violations still occur.