The last war of Ivan's reign was instigated by Ilham's widow, who married Moxammat Amin and persuaded him to assert his independence from Moscow in 1505. The rebellion broke out into the open on Saint John's Day, when the Tatars massacred Russian merchants and envoys present at the annual Kazan Fair. A huge army of the Kazan and Nogai Tatars then advanced towards Nizhny Novgorod and besieged the city. The affair was decided by 300 Lithuanian archers, who had been captured by Russians in the Battle of Vedrosha and lived in Nizhny in captivity. They managed to put the Tatar vanguard into disarray: the khan's brother-in-law was killed in action and the horde retreated.