 One of them, Dénes Bánffy, was appointed to be the military commander of the Transylvanian troops.Mehmed IV declared war on the Habsburg Empire in April and charged Fazıl Ahmed with the command of the new military campaign.The Grand Vizier informed Apafi that he was determined to transform Royal Hungary into a tributary state and ordered him to join the campaign.