What is the earliest known example of a referee type figure being used in competitive sports?

by [deleted]
liwios

I can't think of anything earlier than the Hellanodikes (litteraly: judges of the greeks) who served as referee during the olympic games. But I don't know anything about egyptian or mesopotamian sport practices.