1041 Estate Income tax return

If the deceased final tax return resulted in a liability paid by the estate, can that be deducted on the estate income tax return(and the loss passed on to a beneficiary via k-1)?  If so, where does the deduction go?