SOUTH PORTLAND — Maine’s housing market continues to show signs of improvement with a nearly 7 percent increase in sales of single-family homes last month when compared to the year-ago period.

The Maine Association of Realtors reported Tuesday that there were 945 home sold last month, compared to 885 in October 2010.

The group also noted that median prices declined by nearly 1 percent to $165,000.

Association President Mike LePage says the majority of Maine’s counties showed significant gains. Somerset County had a more than 38 percent gain in sales in the rolling quarter compared to the same period last year, while the median sales price rose almost 40 percent.