Australia’s most populous state passed sweeping new gun and anti-terror laws following the recent mass shooting on Bondi Beach, tightening firearm ownership, banning public display of terrorist symbols and strengthening police power to curb protests.