A method for biological purification of wastewater is disclosed, wherein the
wastewater
is purified in a biofilm process followed by an activated sludge process. The biological
degradation in the biofilm process is performed under limitation of one of the
nutrient salts nitrogen or phosphorous, and the surplus sludge from the biofilm
process is allowed to pass to the activated sludge process.