SACRAMENTO (CBS13) — Sacramento leaders have passed a ban on leaf blowers, but only on days when the air reaches unhealthy levels.

The ordinance takes effect when the Air Quality Index reaches 100 or higher. Sacramento has averaged 34.4 days a year (dating back to 2014) where the AQI went over 100, according to numbers from the Sacramento Metropolitan Air Quality Management District cited by city leaders.

READ MORE: Recall Newsom Rally Held At California State Capitol Hours After Campaign Announces It Gathered Enough Signatures For Ballot

Both gas and electric leaf blowers are banned under the ordinance.

READ MORE: Beloved Placer K-9 Shane Dies After Battle With Cancer

Officials argue that portable leave blowers contribute to dust emissions. The exhaust from engine and refueling are also concerns city leaders cited for the possible ban.

MORE NEWS: Study: There Was No 'Mass Exodus' From California In 2020

Other cities, including Davis, already have similar rules.