The church was built around the years 17901791Sub icon royal past year are 1790 and on the upper door 1791Exista deacon is entered year two versions of the origin of the present church first mentions that the church was built on the hill Osoi in 1790 and then was extended in 1825 the in 1853 i have added a porch second theory considered in 1853 village was purchased for another church much larger they moved the old church icons and iconostasis This church was consecrated in 1858 I have not found out why it took 5ANI to bring up to holiness

Can you repeat this sentence, but add in punctuation?
The church was built around the years 1790-1791.Sub icon royal past year are 1790, and on the upper door 1791.Exista deacon is entered year two versions of the origin of the present church : first mentions that the church was built on the hill Osoi in 1790 and then was extended in 1825 the in 1853 i have added a porch , second theory considered in 1853 village was purchased for another church , much larger , they moved the old church icons and iconostasis , This church was consecrated in 1858 ( I have not found out why it took 5ANI to bring up to holiness).