Yusmeiro Petit on Thursday retired his 46th consecutive batter to surpass Mark Buehrle for the MLB record.
[NEWS: Giants' Petit breaks Mark Buehrle's MLB record]
The streak, which began in Philadelphia on July 22, spanned seven outings and came to an end when opposing pitcher Jordan Lyles hit a double two pitches after Petit set the record.
Of the 46 outs, 21 came by way of the strikeout, 13 were flyouts, eight were groundouts and four were lineouts.
[RELATED: Petit aims to be more than drink-winning bar trivia answer]
Here's the full breakdown:
July 22 -- 9-6 win over Phillies in Philadelphia
1. Grady Sizemore grounds out sharply, pitcher Yusmeiro Petit to first baseman Buster Posey.
July 26 -- 5-0 loss to Dodgers at AT&T Park
2. A.J. Ellis flies out to center fielder Gregor Blanco.
3. Clayton Kershaw grounds out, shortstop Brandon Crawford to first baseman Adam Duvall.
4. Dee Gordon strikes out swinging, catcher Andrew Susac to first baseman Adam Duvall.
5. Yasiel Puig strikes out swinging.
6. Adrian Gonzalez grounds out, second baseman Dan Uggla to first baseman Adam Duvall.
7. Miguel Rojas called out on strikes.
July 28 -- 5-0 loss to Pirates at AT&T Park
8. Andrew McCutchen flies out to right fielder Hunter Pence.
9. Gaby Sanchez strikes out swinging.
10. Neil Walker lines out to center fielder Gregor Blanco.
11. Russell Martin grounds out, second baseman Joe Panik to first baseman Michael Morse.
12. Gregory Polanco pops out to third baseman Pablo Sandoval in foul territory.
13. Brent Morel grounds out, shortstop Brandon Crawford to first baseman Michael Morse.
Aug. 7 -- 3-1 loss to Brewers in Milwaukee
14. Khris Davis flies out to center fielder Angel Pagan.
15. Rickie Weeks called out on strikes.
16. Mark Reynolds flies out to center fielder Angel Pagan.
Aug. 10 -- 7-4 loss to Royals in Kansas City
17. Omar Infante pops out to first baseman Adam Duvall in foul territory.
18. Salvador Perez strikes out swinging.
19. Billy Butler lines out to center fielder Angel Pagan.
Aug. 19 -- 2-1 loss to Cubs in Chicago
20. Kyle Hendricks strikes out on a foul tip.
21. Chris Coghlan strikes out swinging.
22. Javier Baez strikes out swinging.
23. Anthony Rizzo strikes out swinging.
24. Chris Valaika strikes out swinging.
25. Luis Valbuena grounds out, pitcher Yusmeiro Petit to first baseman Adam Duvall.
Aug. 23 -- 6-2 loss to Nationals in Washington
26. Denard Span flies out to left fielder Michael Morse.
27. Anthony Rendon called out on strikes.
28. Jayson Werth pops out to second baseman Joe Panik.
29. Adam LaRoche flies out to left fielder Michael Morse.
30. Ian Desmond strikes out swinging.
31. Bryce Harper pops out to shortstop Brandon Crawford.
32. Wilson Ramos lines out to right fielder Hunter Pence.
33. Asdrubal Cabrera grounds out, first baseman Buster Posey to pitcher Yusmeiro Petit.
34. Jordan Zimmermann strikes out swinging.
35. Denard Span strikes out swinging.
36. Anthony Rendon flies out to right fielder Hunter Pence.
37. Jayson Werth strikes out swinging.
38. Adam LaRoche grounds out, shortstop Brandon Crawford to first baseman Buster Posey.
Aug. 28 -- vs. Rockies
39. Charlie Blackmon lines out to right fielder Hunter Pence.
40. D.J. LeMahieu strikes out on a foul tip.
41. Justin Morneau flies out to center fielder Angel Pagan.
42. Nolan Arenado flies out to center fielder Angel Pagan.
43. Corey Dickerson strikes out swinging, catcher Andrew Susac to first baseman Buster Posey.
44. Brandon Barnes called out on strikes.
45. Jackson Williams strikes out swinging.
46. Charlie Culberson strikes out swinging, catcher Andrew Susac to first baseman Buster Posey.
Pitcher (TEAM) -- Year -- Consecutive batters retired
Yusmeiro Petit (SF) -- 2014 -- 46
Mark Buehrle (CWS) -- 2009 -- 45
Bobby Jenks (CWS) -- 2007 -- 41
Jim Barr (SF) -- 1972 -- 41
Tom Browning (CIN) -- 1955 -- 40
Randy Johnson (ARI) -- 2004 -- 39
David Wells (NYY) -- 1998 -- 38
Harvey Haddix (PIT) -- 1959 -- 38