Barranco won the following municipal elections in 1987, but lost the mayoral race in June 1989. Juan Barranco was a municipal councillor for Madrid from 1983 to 1999. He was also a Senator for Madrid from 1989 until 2008 when he returned to the congress of deputies, again representing Madrid.