306-armstrong090707

Seven-time Tour de France winner Lance Armstrong, left, moved into second place on Tuesday after his Astana squad won the team time-trial in Montpellier. ((Pascal Pavani/Getty Images))

Lance Armstrong surged within a second of the Tour de France lead after his Astana squad won Tuesday's team time trial in a dramatic finish.

Switzerland's Fabian Cancellara of the Saxo Bank team narrowly kept the yellow jersey lead following the fourth stage, a 24.2-mile (38.9-kilometre) ride in and around Montpellier.

Astana needed to beat Saxo Bank by more than 40 seconds for Armstrong to take the yellow jersey. The seven-time champion started the stage in third place, and Astana exactly matched that 40-second deficit. Cancellara's team finished third.

"That's Swiss timing," Cancellara said, laughing. "Time is on my side."

Armstrong credited his teammates, but acknowledged he had hoped to move in front.

"This is a little bit of a disappointment," he said. "That's cycling."

The 37-year-old Texan said the many tight turns along the course made for "tricky" riding. Three crashes marred the start of the stage, including one involving Giro d'Italia winner Denis Menchov.

The U.S. team Garmin was second in the stage, 18 seconds after Astana, despite only five of the nine riders being able to keep up the pace.

The stage finished with a flair. At the last intermediate time check, at 19 miles (30.6 km), Astana was 41 seconds faster than Saxo Bank, putting Armstrong in the lead at that point and setting up the tense finale.

Armstrong and Cancellara share an overall time of 10 hours, 38 minutes, 7 seconds, although the Swiss rider was deemed a fraction ahead. Organizers examined Saturday's opening time trial in Monaco that was won by Cancellara. Those results were calculated to the thousandth of a second.

Three Astana riders follow in the overall standings. Alberto Contador of Spain, the 2007 Tour winner, is 19 seconds behind. Andreas Kloden of Germany is 23 seconds back, and Levi Leipheimer of the United States trails by 31 seconds.

Next up is Stage 5, a 122-mile (196-km) ride along the Mediterranean from Le Cap d'Agde to Perpignan.

The Tour ends July 26 in Paris.