Since the early 19th century many Russians settled in Azerbaijan, but after the end of the Soviet Union with the independence of Azerbaijan which is back in control, most Russians and other minorities have left the country and are continuing to leave the country.