Terrapins baseball coach Erik Bakich has accepted the head coaching job at the University of Michigan, Michigan officials announced Wednesday.

Bakich leaves the Terps just more than a month after wrapping up his third season at the helm, a 32-24 campaign that marked his best since taking over for Terry Rupp.

“My wife, son and I could not be more excited to join the Michigan Athletics family and the Ann Arbor community,” Bakich said in a release from the Michigan athletics department. “The University of Michigan represents a standard of academic and athletic excellence which will be upheld by our coaches and players every day. Michigan baseball has a storied tradition and I am honored to lead this program back to winning championships. We are eager to attack the recruiting trail and will finalize our coaching staff as quickly as possible. Go Blue!”

Bakich was 70-98 overall with a 20-70 record in the ACC during his three years as Terps coach, and the team improved its win total in each of his three seasons. The Terps were on the bubble for the NCAA Tournament but were ultimately left out of the 64-team field.

“I would like to congratulate Erik and thank him for the job he has done in laying a foundation for success over the past three years,” Athletic Director Kevin Anderson said in a release. “While we’re sorry to see Erik go, we are confident we can bring in someone who will represent our values at Maryland and who can continue the positive momentum we have built in our program. I wish Erik and his family all the best in this next chapter of their life.”

Deputy athletics director Nathan Pine will lead the national search for a new Terps coach, the university release said.

gallen@umdbk.com