The first is the correct one. There is no reason to invert the subject and verb in the relative clause. "there" in "there recorded history" is also wrong in the second version.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.