The mayor of Malaga, Francisco de la Torre, left intensive care on Sunday after undergoing emergency surgery following a stroke on Saturday.
Neurosurgeons carried out successful drainage surgery to stop a small brain haemorrhage at the Chip hospital on Saturday.
De la Torre sent out a tweet from intensive care on Sunday morning to reassure his many well-wishers
"I'm well," he said, adding that the messages had filled him with "emotion and energy".
He is now recovering on a ward, accompanied by his wife, Rosa Francia, and their daughter Lucía, said sources on Sunday.
The mayor, 77, was due to undergo a CAT scan to monitor progress later that day.
He is being treated at the Chip hospital after the nearby Hospital Regional's neurosurgery service was moved there to make room for coronavirus patients.
De la Torre has said that he will remain at the helm of the city hall during his recovery. Susana Carillo, the city's first deputy mayor, will only stand in for him on occasions when a personal presence is required and he is unable to attend.