Quick search by citation:

10 U.S. Code § 2003 - Aeronautical rating as pilot: qualifications

To be eligible to receive an aeronautical rating as a pilot in the Army or Air Force or be designated as a naval aviator, a member of an armed force must successfully complete an undergraduate pilot course of instruction prescribed or approved by the Secretary of his military department.

(Added Pub. L. 92–168, § 4(1), Nov. 24, 1971, 85 Stat. 489.)