There lived and there be have the same meaning, both of which mean existence, and some means.
Similarly, there exist
Of course, it is also an inversion of here. The usage is the same
Translated as there once was a very smart person