 Some saw its basis in the good deeds of the living members of the Church, as those of the martyrs and confessors counted in favour of the lapsi.The view that finally prevailed was that of the treasury of merit, which was first put forward around 1230.In Philip Melanchthon's doctrine of imputed righteousness, it is on account of the alien merit of Christ that a believer is declared righteous by God.