California Water Code Section 4101

The owner of a conduit shall construct and maintain to the satisfaction of the department a substantial and serviceable headgate in the conduit through which the water is diverted at or near the diversion dam or works.