Plugs into a wall socket. It is not a lamp that is hard wired to a switch.
Cord was spliced by a non-professional, I advise checking all the wiring before plugging in.