sentence1: It was the northernmost of several Muslim states in the Horn of Africa and served as a buffer between the Christian Kingdom and the Muslim states along coastal regions .
sentence2: It was the northernmost of several Muslim states in the Horn of Africa , acting as a buffer between Christian kingdom and the Muslim states along the coastal regions .