How long did Portugal's decline last?