I am trying to create a phrase structure tree for the sentence
All the faith he had had had had no effect on the outcome of his life.
Many people are familiar with this sentence I am sure. The verb phrase I understand, but what about "he had had?" "All the faith" is the noun phrase Det-Det-N, but what about the rest of the noun phrase? What is "he had had" and how can I write this into my phrase structure tree?