Many transition-metal compounds violate this rule due to the formation of complex ions, a scenario not part of the equilibria that are involved in simple precipitation of salts from ionic solution. For example, copper(I) chloride is insoluble in water, but it dissolves when chloride ions are added, such as when hydrochloric acid is added. This is due to the formation of soluble CuCl complex ions.