Photo: Facebook/Fátima Lourenço Bras

The whale, measuring about ten metres, became stranded on the eastern Algarve beach shortly after 11am yesterday.

A battle lasting around two hours eventually bore fruit as the whale was safely returned to the sea with the assistance of a small boat.

Officials said they will be monitoring the whale to ensure it does not come too close to the beach once again.