Furthermore, it is noteworthy that calcium and potassium ions present in the swine wastewater and calcium and ferric ions entering the wastewater because of the use of MgO-saponification wastewater as the magnesium source may compete with ammonium ions for phosphate ions to form amorphous calcium phosphate, magnesium potassium phosphate, and ferric phosphate, respectively.