When melting in an electric arc furnace, a distinction is made between the single and double slagging process.
In the double slagging process, after being refining pre-oxidized and the slag changed; the second slag is used for refining (especially the sulfur and phosphorus content is reduced), then alloyed, deoxidized and tapped.
Additional references:
Cast steel