Gov. Gavin Newsom visited San Diego Wednesday to sign a new state law that boosts funding for free legal assistance to help people facing evictions and foreclosures.

The law, SB 331, also aims to boost housing production statewide by giving the state attorney general power to force cities and counties to have blueprints for housing production that meet state goals.