When an ionic compound, such as NH4Cl, dissolves in water to give a weakly acidic cation, the pH of the solution becomes acidic.