It started as a program where you had to pay the state a pile of cash to have them carry out a number of tests, like repeatedly dropping the gun to see if it goes off on its own. They kept adding stuff, culminating in microstamping requirements that no manufacturer could or wanted to comply with - so only a small subset of pre-2007 semi-auto pistols could continue to be sold.