Flanked by state officials, including House Speaker Robert DeLeo, left, Gov. Deval Patrick signs gun legislation into law Wednesday at the State House. (State House News Service)