Randy Johnson, Pedro Martinez, John Smoltz and Craig Biggio have been elected to baseball’s Hall of Fame.

Johnson became the second Arizona Diamondbacks player to be elected into the Baseball Hall of Fame. The first was Roberto Alomar, who played one season for the D-backs in 2004.

Johnson, a five-time Cy Young Award winner including four with the Diamondbacks, ranks second on the all-time Major League strikeout list with 4,875 (first among left-handers). The 10-time All-Star won 303 games in his career, including a perfect game, and holds nearly every major career pitching record in D-backs franchise history. In 2001, he was named the co-MVP of the D-backs’ World Series Championship.

Baseball writers elected four players for the first time since 1955, with the Big Unit, Martinez and Smoltz earning induction on the first try Tuesday. Biggio made it on the third attempt after falling two votes shy last year.

The quartet will be inducted in Cooperstown on July 26. The Baseball Writers’ Association of America had not given four players the necessary 75 percent in a single year since selecting Joe DiMaggio, Gabby Hartnett, Ted Lyons and Dazzy Vance 60 years earlier.