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- }$$


 5