Original sentence: After the end of the Caucasus War, the region enjoyed a relative peace.By the end of the 19th century, major Oil deposits were discovered around Gorzny (1893) which along with the arrival of the railroad (early 1890s), brought economic prosperity to the region (then administered as part of the Terek Oblast).In the course of the prolonged Caucasian War, the Chechens, along with many peoples of the Eastern Caucasus, united into the Caucasian Imamate and resisted fiercely, led by the Dagestani commanders Ghazi Mohammed, Gamzat-bek and Imam Shamil, but Chechnya was finally absorbed into the Russian Empire in 1859 after Shamil's capture.The long and brutal war caused a prolonged wave of emigration until the end of the 19th century.Thousands of highlanders moved to Turkey and other countries of the Middle East, while Terek Cossacks and Armenians settled in Chechnya
Edited sentence: In the course of the prolonged Caucasian War, the Chechens, along with many peoples of the Eastern Caucasus, united into the Caucasian Imamate and resisted fiercely, led by the Dagestani heroes Ghazi Mohammed, Gamzat-bek and Imam Shamil, but Chechnya was finally absorbed into the Russian Empire in 1859 after Shamil's capture.Russian occupation caused a prolonged wave of emigration until the end of the 19th century.Thousands of highlanders moved to Turkey and other countries of the Middle East, while Cossacks and Armenians settled in Chechnya