Average length of foreclosure by state, by number of days

Maryland posted one of the highest foreclosure rates in the nation in March, while home prices in the Baltimore area remained flat, according to new reports on the regional housing market released Thursday.

There were 2,634 new foreclosure starts in Maryland last month, up 28 percent compared to the year before and 19 percent compared to February, according to a monthly report by RealtyTrac, a California real estate firm.

Maryland's foreclosure activity runs counter to trends in the nation, which has seen 42 consecutive months of year-over-year declines, according to RealtyTrac.

In the first three months of this year, it took an average of 473 days for a property to go through foreclosure in Maryland, compared to 575 last year, according to RealtyTrac.