The invasion of Portugal was the beginning of what six-year conflict?