Given a disfluent sentence, modify the sentence to it to its equivalent fluent form, preserving the meaning of the sentence.

What was the period called that was 505 years ago or rather 505 million years ago?
What was the period called that was 505 million years ago?