Yoshinobu Yamamoto threw six shutout innings and Teoscar Hernandez homered as the Los Angeles Dodgers completed a three-game sweep of the Washington Nationals with a 2-1 win on Thursday.

“I was being careful with my command especially, and I was also able to throw my offspeed pitches in the strike zone,” Yamamoto said through his interpreter after the game. “So my fastball was effective as a result.

Yamamoto, a right-hander in his first MLB season, gave up four hits and one walk and struck out seven while throwing 97 pitches. One of his least comfortable moments came when he snagged a line drive from Washington’s Eddie Rosario that rocketed toward his head in the fifth inning.