In 2008 he was appointed as the candidate of the Nationalist Republican Alliance for mayor of San Salvador. He won the elections on January 18, 2009. He defeated the incumbent mayor Violeta Menjívar. He was inaugurated as mayor on May 1, 2009. He was reelected as mayor in 2012. 