The bill was part of a wide-ranging foreign aid package.