1041 state fiduciary income for estate taxes

Which state do I need to file the fiduciary income tax return in, that of the decedent, the beneficiaries, or the personal representative? By the name "fiduciary", I'm assuming that of the personal representative but would love clarification.