During the Carter Administration , O'Leary was made assistant administrator of the Federal Energy Administration , general counsel of the Community Services Administration , and administrator of the Economic Regulatory Administration at the Department of Energy . During the Carter Administration , O'Leary was appointed assistant administrator of the Federal Energy Administration , general counsel of the Community Services Administration , and administrator of the Economic Regulatory Administration at the newly created Department of Energy .