ST. LOUIS (AP) Johnny Cueto worked around a season-worst five walks to post his ninth win, tying for the major league lead, as the San Francisco Giants beat the St. Louis Cardinals 5-1 on Friday night.

Cueto (9-1) allowed a run on four hits in six innings with one strikeout. He hadn't walked more than two in any of his first 11 starts for his new team.

Cueto is among four nine-game winners, joining Stephen Strasburg, Jake Arrieta and Chris Sale. Six of Cueto's victories have come on the road.

More from FoxSports

Five Giants relievers combined to give up just one hit.

Adam Wainwright (5-4) allowed two runs in seven innings. The Cardinals were held to one run for the second straight game.