What is the version of the following sentence with correct punctuation?

According to Nostradamus written prophecies a king of horror was to appear in the sky in 1999 What did he mean by that
According to Nostradamus' written prophecies, a "king of horror was to appear in the sky in 1999". What did he mean by that?