The first stage of a linear power supply is a transformer to step the mains/grid voltage down to a reasonable level.