Form 1041 Schedule K-1 Question

This might be a stupid question but as a Successor Trustee of a Trust with it’s own Tax ID which has a Sub Trust for a Beneficiary with it’s own Tax ID  which one files the K-1 when money is distributed from the Sub Trust Beneficiary’s IRA? If there was no Sub Trust it would be on the K-1 from the main Trust.