Although life expectancy has generally decreased throughout Portugal 's history , there was a decline in the 1910s , as a result of the worldwide influenza pandemic , that is now known as the Spanish Flu .