The San Antonio City Council voted unanimously Thursday to appoint Robbie Greenblum as the new city attorney.

Greenblum has served as chief of staff to Mayor Julian Castro since 2009.

Greenblum will take over for longtime city attorney Michael Bernard, who is returning to private practice as a partner at the San Antonio law firm, Bracewell & Giuliani.

Bernard has served as San Antonio's city attorney for the past eight years.