The 1880s were marked by the Scramble for Africa. Italy, seeking a colonial presence in Africa, was awarded Eritrea by Britain which led to the Italo-Ethiopian War of 1887–1889 and the scramble for Eritrea's coastal regions between King Yohannes IV of Tembien and Italy. After the death of Emperor Yohannes IV, Italy signed a treaty with Shewa (an autonomous kingdom within the empire), creating the protectorate of Abyssinia.