The United States Border Patrol is a federal law enforcement agency within U.S. Customs and Border Protection (CBP) a component of the Department of Homeland Security (DHS). It is an agency in the Department of Homeland Security that enforces laws and regulations for the admission of foreign-born persons to the United States codified in the Immigration and Nationality Act. U.S. Customs and Border Protection has more sworn armed law enforcement officers than any other agency in the U.S.