Foreclosures continued to play a leading role in the market, accounting for nearly 60 percent of all homes that resold, according to San Diego-based MDA DataQuick, a real estate information service. Sales of newly built homes were the lowest for a January in at least 21 years - partially a reflection of how difficult it is for builders to compete with discounted foreclosures in the inland growth areas.