Chicago police officers would be required to document every instance in which they point a gun at someone under an agreement reached Wednesday between Illinois Attorney General Lisa Madigan and Mayor Rahm Emanuel, two sources familiar with the deal confirmed.

The new requirement, which was to be agreed upon formally in a federal court hearing Thursday morning, marks a win for Madigan who had pushed for the new level of documentation as part of her ongoing negotiations with Emanuel on a federal consent decree that will govern sweeping reforms to the Chicago Police Department in the coming years, reports the Chicago Tribune.