HOUSTON -- The Houston Astros announced Wednesday the team signed right-handed pitcher Forrest Whitley, who was selected with the 17th overall pick in the first round of the 2016 MLB First Year Player Draft.

Terms of the contract were not disclosed.

In regular season action, the team said Whitley, 18, posted a 9-1 record and a 0.31 ERA in his senior season at Alamo Heights High School in San Antonio. He struck out 126 batters in his 68.0 innings of work.

Whitley pitched Alamo Heights into the UIL Class 5A Final by tossing a dominant 6.2 innings pitched, with 11 strikeouts, vs. College Station HS in the Semifinal Game at the Dell Diamond in Round Rock.

In 2016, the 6-foot-7 righty was named to the Rawlings-Perfect Game 1st Team All-America and Texas All-Region 1st Team. In his junior year, he was named to the Perfect Game Underclass Second Team and played on the USA Baseball 18U National Team.

The Astros said the last right-handed pitcher taken out of high school in the first round by the team was RHP Lance McCullers out of Tampa, Fla., who was taken 41st overall in 2012. The last time the Astros had the 17th overall selection was in 1998, when they took RHP Brad Lidge out of the University of Notre Dame.