Coupling between magnetic order and charge transport in a two-dimensional magnetic semiconductor