Law No. 29338 establishes the legal framework for the integrated management, conservation, protection, and sustainable use of Peru's water resources. It regulates water use rights, basin-based planning and management, the protection of water sources and quality, hydraulic infrastructure, and user participation; furthermore, it creates the National Water Resources Management System under the leadership of the National Water Authority. Regarding the agricultural sector, it constitutes the general framework for the allocation and administration of water intended for irrigation and other productive uses, as well as for the participation of water user organizations.