After suffering a defeat at the hands of Bulgars and Slavs, the Byzantine Empire recognised the sovereignty of Asparuh's Khanate in a subsequent treaty signed in 681 AD. The same year is usually regarded as the year of the establishment of Bulgaria (see History of Bulgaria). A smaller group of Bulgars under Khan Kouber settled almost simultaneously in the Pelagonian plain in western Macedonia after spending some time in Panonia.