The invention is directed to a wastewater treatment system having an anoxic biological treatment zone, an aerobic biological treatment zone and a separator. The concentration of oxygen in streams within the system is strategically managed for improved removal of nutrient from the wastewater. A source of biodegradable carbon may be introduced to reduce the concentration of oxygen within the system. An effective treatment time under anoxic or aerobic conditions may further be varied.