SOUTH PORTLAND  — A real estate organization says sales of existing single-family homes in Maine fell 29 percent in October compared a year ago, while median prices inched up.

The Maine Association of Realtors said Tuesday that real estate agents sold 885 homes last month, down from 1,247 homes in October 2009.

The median sales price came in at $166,500, which was up 1 percent.

For the three-month period from August through October, home sales were down 20 percent from last year.

Cumberland County had the highest median price at $225,000, while Somerset County had the lowest median price at just under $86,000.