Please correct all grammar mistakes in this text.
In the 19th century, slavery had been eradicated from America, but soon another problem originated and took its place.
In the 19th century, slavery had been eradicated from America, but soon another problem grew up and took its place.