Instead of marching against the invaders, he marched on the capital, entering it on January 2,1846.
He was marching against the invaders. He marched on the capital. He was entering it on January 2,1846.