In surviving accounts of Arthur, there are two originally separate legends about the sword Excalibur's origin. The first is the "Sword in the Stone" legend, originally appearing in Robert de Boron's poem Merlin, in which Excalibur can only be drawn from the stone by Arthur, the rightful king.
Therefore legend .. (tradition), with sword being " extracted" from rock/stone.