 Soon after that, he was appointed as Maximilian's personal physician.Basch remained with Maximilian until the emperor's execution by firing squad at Querétaro on 19 June 1867.When Maximilian realized that a few days at the most would decide his fate, he commissioned Basch, Lieutenant Ernst Pitner, and Major Becker to keep daily records of all that happened.