 As Zápolya's supporter, Báthory acted both as a feudal lord, military commander and a diplomat.During one of his trips to Vienna he was put under house arrest for two years.During this time he fell out of favour at Zápolya's court, and his position was largely assumed by another Hungarian noble, Gáspár Bekes.