NAPA COUNTY -- A state appellate court ruled that Napa County's Housing Element generally complies with state housing laws, deciding in the county's favor in a suit lead by the affordable-housing advocacy group Latinos Unides Del Valle y Solano.

The county's housing ordinance requires developers to include more affordable units than required under state law, according to the ruling Thursday by the First District Court of Appeals.

County Counsel Minh Tran in an announcement Friday on the ruling said a revised density-bonus ordinance will be put before the Board of Supervisors later this year to lower the affordable-housing requirement to what the state requires.

The group first sued the county in 2009, arguing that its policy of providing incentives to developers who include affordable and senior housing as part of their projects was discriminatory, created a housing shortage and were otherwise in violation of state fair housing law.

The suit was defeated in Napa County Superior Court last year.