Original: He continued to hold that position in the ephemeral Cabinet led by Admiral Karl Dönitz in the last days of World War II, from late April to May 1945, as according to the political will of Adolf Hitler.
Simplified: He had that job in the short-lived Cabinet of Admiral Karl Dönitz in the last days of World War II, from late April to May 1945, as the political request of Adolf Hitler.