The Veterans Affairs Department says two top officials are stepping down at a time when the agency is under fire for making veterans endure poor medical care and long waits for appointments.

In a statement Wednesday, the VA said Will A. Gunn is resigning as general counsel. Also leaving a top post is Dr. Robert L. Jesse, who has been acting undersecretary for health.

The VA statement said the moves are being made to help improve patients' access to health care and to restore trust from the nation's veterans.

Acting VA Secretary Sloan Gibson made the moves less than a month after he replaced Eric Shinseki as head of the agency. Shinseki resigned after apologizing for the agency's problems.