# Why does HCl both precipitate and dissolve Silver?

Adding $\ce{HCl}$ to silver nitrate solution causes silver chloride to precipitate. Adding more $\ce{HCl}$ causes the silver to re-dissolve. What is happening to the silver chloride when it re-dissolves?

The precipitation reaction is: $$\ce {Ag+ + Cl- -> AgCl_{(s)}}$$ The next reaction is: $$\ce {AgCl_{(s)} +Cl- -> AgCl2- }$$