In aqua regia (a mixture of 1 part cone. HNO3 and 3 parts cone. HCl by volume), nitric acid oxidises hydrochloric acid to give nascent chlorine. This nascent chlorine is very reactive. It reacts with gold to give gold (III) chloride, which is soluble in water.
