The Civil Air Patrol is the civilian auxiliary of the United States Air Force. CAP began operations to patrol the coasts of the United States shortly after the attack on Pearl Harbor. At the end of the war, the United States Congress enacted CAP's status as a public corporation. The United States Congress passed Public Law 557 on May 26, 1948 which permanently established the Civil Air Patrol as the auxiliary of the United States Air Force.