The case against Auston Matthews has been dismissed.

A spokesperson for the City of Scottsdale, where the Maple Leafs centre was facing a charge of disorderly conduct and disruptive behaviour, said Matthews and the female security guard who filed the complaint against him after an incident in May, reached a settlement in the matter on Wednesday. Under Arizona law, an individual accused of a misdemeanour offence may settle the matter directly — that is, come to a financial agreement in exchange for a conclusion of the criminal case.

“On Nov. 13 the matter was settled between the parties and the criminal matter was dismissed,” a spokesperson from the City of Scottsdale’s communications department said.

Neither a representative of Matthews nor the female security guard, Fayola Dozithee, could be reached for comment.

When the existence of the charge first came to light, disrupting the second week of Leafs training camp in September, Matthews apologized for the incident, chalking it up to an “error in judgment.” In a police report and in a police body-cam interview that later surfaced, Dozithee, a security guard at the condominium complex at which Matthews is a resident, alleged that Matthews and a group of males attempted to break into her car around 2 a.m. as she sat there doing paperwork. Dozithee, who said she was “terrified” by the experience, told the investigating police officer that Matthews later told her “he thought it would be funny” to see how she would react to the intrusion.

According to the police report, Matthews, on his way back to his building, dropped his pants and grabbed his buttocks, leaving his underwear on.

The incident suggested the 22-year-old sharpshooter, who is in the first year of a five-year deal that will pay him $58 million (U.S.) might not be a fit for the team captaincy, which was given to teammate John Tavares about two weeks later. Matthews was named an alternate captain.