Prosecutors withdrew the assault charge against Houston Astros closer Roberto Osuna as part of an agreement announced in a Toronto courthouse on Tuesday.

Osuna, who attended the hearing at the Old City Hall courthouse in Toronto, agreed to a peace bond in the case, which is equivalent to a restraining order in the U.S. The peace bond will run for one year and mandates there be no contact with the alleged victim.

“I am pleased and relieved by today’s court decision," Osuna said in a statement. "Now I can begin to put these allegations behind me and focus on baseball. I want to thank my family, teammates and fans for believing in me."

A prosecutor in the Crown Attorneys’ office said in court that the alleged victim was the mother of Osuna's 3-year-old child and she declined to travel back to Canada to pursue the case, according to the CBC.

MORE COVERAGE:

"The Houston Astros look forward to Roberto continuing his commitment to be a productive and caring part of our community," the Astros said in a statement. "The Astros remain committed to increase our support regarding the issues of domestic violence and abuse of any kind. We have engaged with a number of local, state and national organizations - and we look forward to working with them in the short term and over the long term.”

Domenic Basile, Osuna's lawyer, said in a statement he was "extremely pleased that the matter has come to the conclusion today.”

Osuna, 23, was arrested on suspicion of assaulting a woman while he was a member of the Toronto Blue Jays. He was placed on administrative leave hours after the May 8 arrest and Major League Baseball ultimately suspended Osuna for 75 games without pay for violating the league’s domestic violence policy.

Osuna accepted the suspension. Osuna originally pleaded not guilty to the assault. He faced up to six months in jail and a $5,000 fine.

Osuna was roundly booed Monday in his first appearance at Rogers Centre as a member of the Astros, who acquired the reliever on July 30. He earned a save in the Astros' 5-3 victory in the first game of a three-game series in Toronto.

Unlike many jurisdictions in the U.S., police reports are not public record and the court files only include the basics of the case, like the charges against the individual. That has resulted in few details being released about the alleged crime.

“No one knows what happened but obviously me,’’ Osuna told USA TODAY Sports last month. “Everybody is quick to judge me and say all kinds of things about it. I’m just waiting for everything to come out so people can really wait to see what happened. I would really like the fans, and everybody else, (to) learn what the media says is not true.

“... Everybody is judging me for things they don’t know. I don’t like that.

“Hey, if I’m guilty, you can say whatever you want.’’

Follow Perez on Twitter @byajperez