 The battle began in the morning, with an Ottoman surprise attack on Serbian positions, and the Serbs managed in the beginning.Tanasko commanded the cannon batteries in the surrounding hills.Just before the battle, Tanasko was elevated to "captain" in Obrenović's Serbian army.