You summon a spectral sword that hovers within range. It lasts for the duration.
When the sword appears, you make a Melee spell attack against a target within 5 feet of the sword. On a hit, the target takes Force damage equal to 4d12 + your spellcasting ability modifier.
On your later turns, you can take a Bonus action to move the sword up to 30 feet to a spot you can see and repeat the Attack against the same target or a different one.