The short answer
Petrarch is not known for using the label “Middle Ages” in the sense we use it now. He saw the centuries after classical Rome as dark and far below the learning of antiquity, and he hoped his own age could bring learning back. His view was a contrast between two periods, not a full picture of the centuries in between.
Two eras in his thinking
Petrarch’s view of history had a bright classical past, a dim period after it, and his own time. He wanted to revive the first, and he hoped his own era could take part in that revival. The dim centuries between were the period he saw as needing repair.
His love of classical Latin
Petrarch read Latin authors closely and wanted their works recovered. In 1345 he found a set of Cicero’s letters to his friend Atticus at Verona. That find shaped his sense of loss: many ancient works had been neglected, and some might still be found. For him, scholarship was the way to bring light back.
Darkness as lost learning
The passages most often cited, from the epic Africa and his 1367 Apologia, use darkness as an image for learning that has been overwhelmed. For Petrarch, darkness meant a poor grasp of good Latin and of the ancient authors. Historians who have studied his writing stress that his concern was mainly literature and style, not every part of medieval life.
Why his view is not the whole story
Modern readers should keep his limits in mind. He was a writer with a particular concern, and his scheme does not settle the wider question. Readers who ask what centuries were the Middle Ages will find that his contrast gives a starting point but not a complete answer. Theodor Mommsen’s 1942 study is a careful guide to where his view stops.
How later writers used his scheme
In the 1400s, Flavio Biondo and Leonardo Bruni built on Petrarch’s two-period contrast. They set out three parts of history: ancient, a middle period, and a modern age. The middle period is the root of the later label “Middle Ages,” which became common over the following centuries.
How historians see it today
Scholars now treat Petrarch’s view as an important part of how Renaissance writers saw themselves, rather than as a neutral description of medieval life. His contrast is a useful lens on the scholarship of his time. It is not a complete account of the centuries he described.