In what year was Maximilian III born