By the mid-1800s, who was the dominant power in South Asia?