Brockton native Pete Hughes is the new baseball coach at the University of Oklahoma after seven seasons at Virginia Tech.

Hughes was introduced at a press conference in Norman this week, just weeks after the Sooners eliminated his Hokies from the NCAA tournament in Virginia.

The Boston College High School graduate takes over for Sunny Golloway, who is now the head coach at Auburn after winning at least 40 games in each of the last five years.

“I’m excited to be a part of one of the most successful athletic departments in the country,’’ said Hughes at the press conference. “I’m privileged to b the head coach of one of the most storied traditions in college baseball.

“Specifically, this year’s team, I know what I’m inheriting. I saw it with my own eyes. I’m very appreciative of inheriting a super regional team. I realize you don’t walk into those situations very often.’’

Hughes coached at Boston College before moving to Virginia Tech and brought the Hokies to the NCAA tourney in 2010 and this season, winning at least 30 games the past five years.

Virginia Tech finished 40-22 this season and hosted a regional for the first time. The team included outfielder Tyler Horan of Middleboro and Eddie Campbell of Bridgewater, players who were drafted earlier this month.

Ryan Tufts of Bridgewater, a recent BC High graduate, will play at Virginia Tech next season.

According to a report, the Sooners asked for permission to speak with Hughes a week ago Friday and after he took the job, Hughes and his family were flown to Oklahoma on a plane owned by country musician Toby Keith.

Hughes was hospitalized not long after the regional tournament after suffering a heart attack. Doctors found a 99 percent blockage and had a stent inserted.

“I feel great,’’ said Hughes at the press conference. “I feel very fortunate. There’s no damage to my heart. I’m 45 years old and in pretty good shape, with bad genetic history. Now we can stay on top of it.’’

Hughes is now in charge of a program that won two national championships and played in the College World Series three years ago.

Virginia Tech named Franklin native Patrick Mason as Hughes’ replacement. Mason was his pitching coach with the Hokies and played at Northeastern University in the 1990s.