Why did Alexandria become a major city in Virginia?

It became a major city because of where it is located is located in the northern part of Virginia