Following the death of Ras Kinfu, people fought for control of his lands in Gojjam. Eventually Menen Liben Amede gained the upper hand in the Battle of Chenti Ber (October, 1839), defeating and capturing Kinfu's relative Walda Tekle. Not long afterwards, she deposed Sahle Dengel on 29 August 1840 in favor of her husband Yohannes III. However Yohannes offended Ras Ali by favoring his rival Wube Haile Maryam, and Ras Ali restored Sahle Dengel in October 1841. Sahle Dengel was still emperor in 1848, when Goshu Zewde entered Gondar and was invested with the title of Ras. Yohannes somehow managed to get himself restored to the throne around 1850, only to be deposed again in 1851 and Sahle Dengel was once again restored. Despite this, Yohannes III persisted with his claim; different parts of the fragmented realm recognized one or the other as Emperor until Tewodros II consolidated Ethiopia under his control and declared himself Emperor. Significantly, Yohannes III accepted the accession of Tewodros II.