Family members, friends and residents joined the mayors of Axarquía villages on Tuesday for the funeral of Salvador Fernández Marin, the mayor of El Borge, who was found dead on Monday afternoon.
The mayor's body was found hanging from a tree on at his family's estate, after he failed to attend a council meeting which was due to take place at that time at the town hall.
An autopsy concluded that there were no signs of a struggle. It is believed that the mayor committed suicide by hanging himself.
Fernández, who had been mayor of El Borge since 2011, would have celebrated his 48th birthday on Wednesday. He leaves a wife and son.
The Spanish Socialist party suspended all the events scheduled for Tuesday in the province and two days of mourning were declared for Wednesday and Thursday in El Borge. Flags have been flying at half mast in the village since news of his death broke.
Posting on Twitter, president of the Junta de Andalucía, Susana Díaz, said: "I am thinking of his family, of his neighbors in El Borge and I can't imagine how they must be feeling."