The added salt (e.g., trivalent metal salts, ferric chloride) precipitates P in the wastewater and resulting solids residuals are removed either by settling under gravity or by filtration.