in 1678 the fugitives accepted mihály teleki, the chancellor of transylvania as their leader. prince apafi proclaimed war against the habsburgs. before that he had to beg leave the ottoman sultan (his overlord). the sultan demanded an unacceptable condition: in the case of success all royal hungary should become part of the ottoman empire.