Irvine was ranked the ninth best city to raise a family among the 150 largest U.S. cities by the personal finance website WalletHub.

The study looked at 41 indicators – such as housing affordability, school-system quality and playgrounds per capita.

Irvine has the fewest violent crimes per 1,000 residents, 0.56, of all the cities in the ranking, according to WalletHub. Residents in the worst city, St. Louis, are 32.4 times more likely to become violent crime victims.

Irvine also has the lowest share of families receiving food stamps at 2.9 percent, according to WalletHub. Detroit has the highest at 49.6 percent.

Overland Park, Kan. topped the list, followed by Madison, Wis. and Plano, Texas, while Birmingham, Ala., Detroit and San Bernardino were at the bottom.