New York state and some of its local governments will receive $1.2 million from UPS Inc. as part of a settlement with the shipping company following allegations it overcharged government customers in 14 states.

Attorney General Eric Schneiderman announced the multistate settlement Wednesday. The overall $4 million agreement also covers 13 other states and the cities of Washington, D.C., New York City and Chicago.