From a South Slavic *grajati.
grest (third-person singular present indicative greshti, past participle grite)