Question: How long did Portugal's decline last?
Sentence: With the occupation by Napoleon, Portugal began a slow but inexorable decline that lasted until the 20th century.
Answer in sentence: yes