A former revolutionary guard and Tehran mayor , the 49-year-old president is a religious conservative .