In Scotland the right of a female to inherit a Peerage or even the throne was introduced by King Malcolm II in 1005. He was the first to introduce the concept of hereditary monarchy in Scotland. He did so to try to eliminate the strife caused by the elective law, which encouraged rival claimants to fight for the throne. Since Malcolm had only daughters, he also introduced the right of female-line succession in Scotland. This gave rise to conflict by competitors for generations.