FOXBOROUGH — After a rough start for Tom Brady, the Patriots settled in as the team's offense showed spark for the first time in a 42-35 win over the Philadelphia Eagles Friday night at Gillette Stadium in the team's second preseason game.

Brady, who threw an interception in the game’s opening drive to Cary Williams which was returned 77 yards for a touchdown, followed up in his second and last series of the game to lead the Patriots on a nine-play, 74-yard drive capped by a 15-yard touchdown to Kenbrell Thompkins. Brady finished 8 of 10 for 81 yards with a touchdown and an interception.

Rookie quarterback Jimmy Garoppolo was the first off the bench once Brady’s day was done, upending the depth chart a little bit. On his first drive, he completed both of his recorded passes to James Develin, hitting the fullback/tight end combo for a 15-yard touchdown as the Patriots pulled ahead of Philly 14-7. He followed it up with a 13-play. 75-yard drive that culminated with a back-of-the-end-zone touchdown pass to new receiver Brandon LaFell four yards out.

Garoppolo quarterbacked the Patriots through rest of the first half, finishing 6 of 12 passing for 72 yards and two touchdowns.

Ryan Mallett, the focus of much critcism, took over in the second half and led the Patriots on three scoring drives. He ran for a 6-yard touchdown and then threw another as the Patriots stormed ahead of the Eagles, before Nick Foles (8 of 10, 81 yards, 1 touchdown) and Mark Sanchez (11 of 12, 117 yards, 2 touchdowns, 1 interception) helped Philadelphia tie the Patriots 28-28 with 9:36 left in the third quarter.

Mallett followed a Sanchez touchdown pass in the third quarter to Damaris Johnson with an 80-yard drive, capped by a 10-yard touchdown run by rookie running back Roy Finch as the Patriots took the lead for good. Mallett thew a 17-yard touchdown pass to rookie wide receiver Brian Tyms and Eagles quarterback Matt Barkley connected with Henry Josey on a 27-yard touchdown screen pass to end the third quarter, the last score of the game.

Mallett finished 7 of 11 passing for 92 yards and a touchdown, a much improved outing from his preseason start last week against Washington when he went 5 of 12 for 55 yards.

HOW THEY SCORED

EAGLES — Matt Barkley threw a 27-yard touchdown to running back Henry Josey on screen pass, embarrassing the Patriots' Marcus Forston as he turned the defensive tackle around on his way to the end zone. Barkley led the Eagles on an 8-play, 77-yard drive. Patriots 42, Eagles 35

PATRIOTS — Ryan Mallett threw a 17-yard touchdown pass to Brian Tyms, who ran a fly route. Tyms made a fantastic catch with a defender in place. The score capped another quick drive, three plays for 28 yards. Patriots 42, Eagles 28

PATRIOTS — Ryan Mallett completed two passes, including a 23-yarder to Josh Boyce, before letting Jonas Gray and Roy Finch take it the rest of the way. Finch ran in a 10-yard touchdown as the Patriots pulled ahead again, capping a 6-play, 80-yard drive. Patriots 35, Eagles 28

EAGLES — Eagles quarterback Mark Sanchez connected with wide receiver Damaris Johnson in the flat for a 5-yard touchdown as Philadelphia tied up the game with the Patriots again. It was a 10-play, 80-yard drive by the Eagles led by Sanchez. Patriots 28, Eagles 28

PATRIOTS — Patriots backup quarterback Ryan Mallett ran in a 6-yard touchdown to complete a three-play drive after a Duron Harmon interception. It appeared the defense didn't think he would run, opening up a lane for him to just jog into the end zone. Patriots 28, Eagles 21

EAGLES — Eagles backup quarterback Mark Sanchez threw what appeared to be a 6-yard touchdown pass to Ifeanyi Momah that went off Momah's hands (and the ground) before it bounced up and was caught by Eagles receiver Arrelious Benn. It was 5-play, 61-yard drive in only 1:07 to tie the game. Patriots 21, Eagles 21

EAGLES — Following a blocked punt, the Eagles' Nick Foles orchestrated a quick, 4-play drive that culminated with a 4-yard touchdown pass to tight end Zach Ertz. Patrick Chung was in coverage. Patriots 21, Eagles 14

PATRIOTS — Jimmy Garoppolo found new Patriots wide receive Brandon LaFell in the back of the end zone for a 4-yard touchdown, leading New England on a 13-play, 75-yard drive for the score. Patriots 21, Eagles 7

PATRIOTS — Jimmy Garoppolo connected with fullback James Develin for a 15-yard touchdown in the flat. Garoppolo came in the game to replace Tom Brady and immediately went 2 for 2 passing, completing both passes to Develin. Patriots 14, Eagles 7

PATRIOTS — Tom Brady hit wide receiver Kenbrell Thompkins on a back shoulder pass for a 15-yard touchdown. The Patriots were boosted on their 9-play, 74-yard touchdown drive by four defensive penalties, two of which were declined or offset. Brady went 3 of 3 passing on the drive. Patriots 7, Eagles 7

EAGLES — Cary Williams intercepted a Tom Brady pass for Steve Maneri and returned it 77 yards — avoiding a diving Brady on the way — for a touchdown. Williams, known for calling the Patriots cheaters, seems to be backing up his talk with his play. Eagles 7, Patriots 0