The City of New York on Thursday sued three major oil companies and the American Petroleum Institute in Manhattan Supreme Court, arguing that they engaged in deceptive trade practices to “greenwash” and mislead local consumers about the environmental costs of fossil fuel products.

The San Francisco-based environmental firm Sher Edling is working with the New York City Law Department to represent the city in the suit, which was filed on Earth Day.