After being seriously wounded in September 1943, Fegelein was reassigned by Heinrich Himmler to Hitler's headquarters staff as his liaison officer and representative of the SS. Fegelein was present at the failed attempt on Hitler's life on 20 July 1944. He was on duty at Hitler's Führerbunker in Berlin in the closing months of the war, and was shot for desertion on 28 April 1945, two days before Hitler's suicide.