Legacy Weapon

Legacy Weapon

Legendary Artifact (CMC 7)
: Exile target permanent.
If Legacy Weapon would be put into a graveyard from anywhere, reveal Legacy Weapon and shuffle it into its owner's library instead.