His intentions were formally set out in the will which he drew up in 1818.
In accordance with a codicil to his will the capital sum he had bequeathed for the poor boys was held in trust until it had grown to £50,000.