The sale should increase Shore's capital levels and allow it to expand its banking activities.
The mutual has agreed to buy Cape Ann Insurance, which specializes in personal insurance products.