NEW YORK (AP) — Houston Dynamo goalkeeper Tyler Deric has been reinstated by Major League Soccer more than eight months after his arrest on misdemeanor assault charges in a domestic case.

Deric, who was the reigning MLS Player of the Month at the time of his arrest last October, missed 19 games while he was suspended. The 29-year-old entered into a plea agreement with the Harris County District Attorney and will have his charges dismissed if he completes a yearlong diversion program.

His reinstatement by MLS is subject to continued compliance with his legal agreement.

The Dynamo secured their first playoff berth since 2013 last year, in part thanks to the play of Deric — who allowed only one goal in the final month before his suspension.