ANN ARBOR, Mich. (AP) — Michigan coach Jim Harbaugh will accept a three-game suspension from the Big Ten and the conference will end its investigation into a sign-stealing scheme as part of an agreement to resolve the school’s lawsuit against the league, Michigan said Thursday.

The Big Ten suspended Harbaugh last Friday, and Michigan hours later asked a court for an injunction and temporary restraining order. The restraining order was not ruled upon and Harbaugh did not coach the team against Penn State on Saturday.

The two sides were expected in court Friday in Michigan, but instead Harbaugh will serve out the remainder of the suspension, missing games against Maryland on Saturday and Ohio State on Nov. 25.

“Coach Harbaugh, with the university’s support, decided to accept this sanction to return the focus to our student-athletes and their performance on the field,” Michigan said in a statement. “The conference has confirmed that it is not aware of any information suggesting Coach Harbaugh’s involvement in the allegations. The university continues to cooperate fully with the NCAA’s investigation.”

The Baltimore Banner thanks its sponsors. Become one.

The NCAA probe surfaced four weeks ago amid allegations that Michigan had used a robust in-person scouting and sign-stealing operation conducted by a low-level staffer, Connor Stalions, who has since resigned. The Big Ten said at the time it was also looking into the allegations.

The NCAA process is slow moving, but the Big Ten’s rules gave Commissioner Tony Petitti the opportunity to hand down discipline more quickly. It hit Harbaugh with a three-game suspension and the school immediately challenged the decision.

Harbaugh’s brother John, head coach of the Baltimore Ravens, said earlier this week he’s proud of how Jim has conducted himself.

“I’m proud as heck of him,” John Harbaugh said after the Ravens’ practice Tuesday. “I’m really impressed with the way he’s handled himself through all this.”

John Harbaugh said Jim’s phones and computers have been searched and “he’s come through this thing with flying colors.”

The Baltimore Banner thanks its sponsors. Become one.

With the Ravens playing Thursday night, John Harbaugh has a rare free Saturday to potentially see his brother’s team in action in College Park, Maryland.

Asked about the prospect of that Tuesday, Harbaugh laughed and said: “I don’t know. I don’t know. Let’s get through Thursday night and see where we’re at.”

University leaders made the somewhat surprising decision to settle the case because the Big Ten would not agree to reduce the suspension to two games, the school didn’t want to drag the fight into court and negotiated for the conference to close its investigation, according to a person familiar with the situation. The person spoke Thursday with The Associated Press on condition of anonymity because they were not authorized to share the school’s rationale.

Combined with a school-imposed, three-game suspension for an unrelated NCAA infractions case tied to recruiting, Harbaugh will miss half the Wolverine’s regular-season games this season, but could be back on the sideline if they make the Big Ten championship game.

He has repeatedly denied any involvement with Stalions’ apparent scheme.

The Baltimore Banner thanks its sponsors. Become one.

No. 2 Michigan is one of the favorites to win a national title and is looking for its third straight Big Ten championship and College Football Playoff appearance. The Wolverines are set to play the Maryland Terrapins at noon Saturday.

Baltimore Banner editor Brandon Weigel contributed to this report.