A removal mechanism for organics and nitrogen in treating leachate using a semi-aerobic aged refuse biofilter.