What were the political and social effects of westward migration in the early 19th century?