A new report shows 34 percent of all home sales in Arizona last year involved houses in some stage of the foreclosure process.

The data released Thursday by foreclosure tracking firm RealtyTrac shows that’s actually a 26 percent dip from the previous year.

Nearly 65,000 homes sold while in some stage of foreclosure last year. The average sales price for those homes was $142,000 and reflected a 23 percent discount from regular prices. The number of foreclosure sales actually was a 25 percent improvement from 2011.

Another 19 percent of the homes sold last year were short sales where the bank accepted less than was owed on the mortgage.

Both numbers were substantially lower than in 2011 as the Arizona home market finally began recovering from years of high foreclosures.