The huge sum of money had been left by an anonymous benefactor in the confessional of a church in Rome.