NEW YORK ( TheStreet) -- Foreclosure activity fell in 2012, helping to push home prices higher, as lenders pursued alternatives to foreclosure in the wake of a nationwide mortgage settlement and tougher state foreclosure laws. Foreclosure filings were reported on 1.8 million properties in 2012, according to RealtyTrac's year-end 2012 Foreclosure Market Report. That is down 3% since 2011 and is more than 36% below the 2010 peak of 2.9 million properties. Foreclosure activity has been on the decline since 2010, when banks were found to have violated laws in foreclosing upon borrowers. A moratorium on all foreclosure activity followed and new servicing standards were implemented under a settlement with the five biggest banks in March 2012, making it tougher for banks to foreclose. Banks agreed to provide relief to borrowers in the form of principal reductions and loan modifications and to actively pursue alternatives to foreclosure in the form of short sales. Banks also appear to have voluntarily shifted away from foreclosures in states that follow a judicial foreclosure process, which requires the lender to prove in court that the borrower is in default in order to foreclose. The courts in these states are so overwhelmed that they are severely backlogged and the average time it takes to complete a foreclosure often runs into a few years. The average time to complete a foreclosure takes 1089 days in New York, for instance, against a national average of 414 days. However, despite the broad shift away from foreclosures, not all states saw a decline in activity in 2012, according to the report. Foreclosure filings still rose in 25 states, 20 of which use the judicial foreclosure process. Foreclosures increased the most in New Jersey, Florida, Connecticut, Indiana, Illinois and New York. Florida posted the highest foreclosure rate at 3.11% followed by Nevada and Arizona. In 2011, Nevada and Arizona occupied the first two spots. However, both states experienced a decline in foreclosure activity. Both states follow a non-judicial process, where banks can foreclose upon borrowers more quickly.