Historical Rules · 25 August 2017
Rule 704.5k
Official source text from the 25 August 2017 Rules release
If a player controls two or more legendary permanents with the same name, that player chooses one of them, and the rest are put into their owners’ graveyards. This is called the “legend rule.”