PHILADELPHIA - The Eagles fell apart in the second half against Dallas today.

The Cowboys scored three touchdowns -- one each on offense, special teams and defense -- in a span of 2 minutes, 35 seconds to earn a 38-23 victory over the Eagles at Lincoln Financial Field.

Eagles quarterback Michael Vick left the game in the first half and was replaced by rookie Nick Foles.

The Eagles have now lost five straight for the first time during coach Andy Reid's 14 season. They last lost five in a row to open the 1998 season in coach Ray Rhodes' final year.

The Eagles led 17-10 when Cowboys quarterback Tony Romo started the rally with a 30-yard touchdown pass to wide receiver Dez Bryant on the final play of the third quarter. Dwayne Harris next scored on a 78-yard punt return and cornerback Brandon Carr returned an interception of Foles 47 yards for a TD.

Foles replaced  Vick in the second quarter after Vick suffered his concussion. Foles became the first Eagles' rookie to throw a TD pass since running back Brian Westbrook in 2002 when he found wide receiver Jeremy Maclin for a 44-yard score in the third quarter.

Foles completed 22-of-32 passes for 218 yards with one TD and one interception.

The Eagles cut the gap to 34-23 on fullback Stanley Havili's 1-yard TD with 1:55 to go, but Alex Henery missed his first extra point in two years.

On the next possession, Foles fumbled on a sack by Cowboys defensive tackle Anthony Spencer and defensive tackle Jason Hatcher recovered it in the end zone for a touchdown.