sentence1: After his retirement , Foley served as assistant secretary of energy for defense programs under President Ronald Reagan .
sentence2: After retiring , he was appointed assistant secretary of energy for defense programs by then-President Ronald Reagan in 1985 .