Ukrainian forces pressed deeper into Russia on Friday, trying to capitalize on their surprise cross-border offensive, as Moscow moved quickly to shore up its defenses against the largest assault on Russian soil since the war began.

After capturing several small settlements the last few days, Ukraine was battling to take full control of a town near the border and sending small units to conduct raids farther into the southwestern Russian region of Kursk.

At the same time, the Russian military announced that it was sending more troops and armored vehicles to try to repel the attack. Russian television released videos of columns of military trucks carrying artillery pieces, heavy machine guns and tanks.