With regard to Building Regulations, what legislation covers electrical wiring?

Electrical wiring is regulated under the IET Wiring Regulations.