To take revenge of the Tatar invasions of Transylvania in the previous years, Louis I dispatched Andrew to lead a military campaign across the territories subjected to the Golden Horde. Andrew and his Székely warriors crossed the Carpathian Mountains and imposed a decisive defeat upon a large Tatar army on 2 February 1345.