Jake Peavy threw seven strong innings in another solid start, Brandon Belt hit a three-run double and Angel Pagan had three hits as the San Francisco Giants defeated the Philadelphia Phillies 5-4 on Friday night.

The Giants trailed 2-1 in the bottom of the seventh inning when Belt cleared the bases with a shot to center off Elvis Araujo (1-1).

San Francisco has won 12 of its last 13 games and 31 of 40, tying a record for the best 40-game clip in franchise history (June 12-July 21, 1954).

Peavy (4-6), 1-5 with an 8.21 ERA over his first nine starts, is 3-1 with a 1.94 ERA in his last six after allowing two runs and seven hits in seven innings.

Santiago Casilla got Tyler Goeddel to ground out for the final out for his 17th save after loading the bases.

The Phillies have lost 10 of their last 11.

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed)

More From New Jersey 101.5 FM