 Subsequently, between 1985 and April 2004, he was mayor of Cornellà de Llobregat.In the 1999 elections and again in 2003 he was re-elected with an absolute majority.In 1988, after the creation of the Consells Comarcals (District Councils), he was elected president of the District Council of Baix Llobregat, a post he occupied until late 1997.