When the National Party (NP) edged out its more liberal opponents in nationwide elections in 1948, the new government enacted legislation that strengthened the relationship between the police and the military. Police subsequently became heavily armed, especially when facing unruly or hostile crowds. The Police Act (No. 7) of 1958 broadened the mission of the SAP beyond conventional police functions, and allowed police to quell civil unrest and conduct counterinsurgical operations. The Police Amendment Act (No. 70) of 1965 allowed police to detain any person, receptacle, vehicle, aircraft, or premise within one mile of any national border, and to seize anything found without a warrant. This search-and-seize zone was extended to within eight miles of any border in 1979 and to the entire country in 1983.