A number of churches are believed to have stood where the present structure now stands. During the heyday of the Empire of Trebziond, it was used as the resting-place for a number of dignitaries including Emperor John II Megas Komnenos in 1297, Metropolitan Niphon in 1364, and Emperor Alexios IV Megas Komnenos in 1429.[4]