Metro areas in four Sun Belt states accounted for the top 20 foreclosure rates in the nation last year, according to a report this week by foreclosure data company RealtyTrac.

Nine of those cities were in California, eight were in Florida, two were in Nevada, and one was in Arizona. RealtyTrac’s Year-End Metropolitan Foreclosure Market Report analyzed foreclosure properties in metro areas with more than 200,000 people.

The nation as a whole posted a total of more than 2.82 million foreclosure filings, or 2.21 percent of all housing units.