 Britain and Russia offered to mediate, and a second Treaty of Erzurum was signed on 31 May 1847.This treaty divided the disputed region between the two parties and provided for a boundary commission to delimit the entire border.The boundary commission's work encountered several political setbacks but finally completed its task in 1914.