Updated

Hunter Pence hit a three-run homer and Joaquin Arias drove in two with a triple to help the San Francisco Giants to a 6-4 win over the Houston Astros on Wednesday night.

Pence has been a nightmare for the Astros since they traded him away in July 2011, hitting four homers in just seven games against his former team with the Phillies and Giants.

The Giants had a 1-0 lead before Pence's 19th homer pushed the lead to 4-0 and elicited the loudest cheers of the night from the sparse crowd.

Houston cut the lead to 1 before Arias' triple in the sixth inning, which came after an error by the Astros, pushed the advantage to 6-3.

George Kontos (1-0) struck out four in 2 2-3 scoreless innings for the win.

Dallas Keuchel (1-7) took the loss.