For a number of years after 1683, Aigun served as the capital (the seat of the Military Governor) of Heilongjiang Province, until the capital was moved to Nenjiang (Mergen) in 1690, and later to Qiqihar.