Career He graduated from the University of Barcelona (UB) with a degree in law, and was named Mayor of Barcelona by King Juan Carlos I on 6 December 1976.