Pictures on state television showed thousands of soldiers marching in formation alongside tanks, balloons and enormous crowds.