What role did the local area play in the nation’s history until 1865?