Before the 1997 local government reform it was a part of the community of Dendra.
[1] Agia Sofia is a part of the local community of Dendra Tyrnavou.
[1] In the Ottoman tahrir defter (number 101) of 1521, the settlement was recorded as a village with the name Okçular.
Moreover, in the Ottoman tahrir defter (number 225) of 1544, the village included Selanik Yörüks, who had military obligations that required them to give five soldiers (eşküncü) and 20 assistants (yamaks) per household (ocak).
[5] The current name Agia Sofia means Holy Wisdom in Greek.