The state’s eight largest wine and liquor wholesalers will pay $1.6 million and adopt a series of reforms to resolve New York Attorney General Eliot Spitzer’s investigation of illegal marketing practices in the industry, according to an agreement announced Wednesday.

The deal is meant to stop wholesalers from favoring select retailers with gifts and discounts not available to thousands of smaller stores, bars and restaurants.