Charity benefits from €10 million legacy