Nitrogen and residual organic matter removal from anaerobic reactor effluent in a fixed-bed reactor with biogas for denitrification