Gayabashi is a village in the Novo-Bayazid uezd of the former Iravan governorate, in the present Basarkechar (Vardenis) district, in the Gegharkunik province. The provincial centre lies 83 km to the southeast of the town of Kavar (Gavar), adjacent to the Mazra River, at a height of 2,025 m above sea level. It was marked on the five-verst map of the Caucasus. The village is also mentioned as “Gaya Bashi Haji Garib”.

The village was inhabited by 131 Azerbaijanis in 1873, 181 in 1886, 219 in 1897, 219 in 1908, 240 in 1914 and 234 Azerbaijanis in 1916. On 13-20 April 1919, the Azerbaijanis were expelled from the village by Armenian militants. Some Azerbaijanis, who fled the village, managed to return to the native lands following the establishment of Soviet power in present-day Armenia. Muslim Kurds started to live there after 1926. The village was inhabited by 149 Azerbaijanis in 1922, 129 Azerbaijanis and 113 Kurds in 1926, 181 Azerbaijanis and 175 Kurds in 1931, 408 Azerbaijanis and Kurds in 1939, 371 Azerbaijanis and Kurds in 1959, 522 Azerbaijanis and Kurds in 1970, and 663 Azerbaijanis and Kurds in 1979. In November- December 1988 the Azerbaijanis and Kurds were expelled from the village by the Armenian government. Currently, the village is inhabited only by Armenians.

The toponym was coined from the oroterm “gaya” (rock) and the word “bash”, which implies “the top of a mountain, the peak,”. It means “a village at the top of a rock”.

By the decree of the Presidium of the Supreme Soviet of the Armenian SSR dated 3 April 1991, the village was renamed “Keghamabak”. According to the law “On the administrative-territorial division of the Republic of Armenia” dated 7 November 1995, it was integrated into the administrative area of the Gegharkunik province.

Geographical coordinates: latitude: 40°09’ N., longitude: 45°48’ E.