The quenching of excited F(2P1/2) and Cl(2P1/2) atoms by N2(X1Σg+) molecules