A former Prince George’s County police officer who admitted to illegally sharing information about secret federal wiretaps used in a drug investigation was sentenced to 30 months of probation, officials announced Monday.

Vanessa Edwards-Hamm, 38, will spend four months of her probation under house arrest after she was sentenced in U.S. District Court for the District of Columbia, authorities said.

Chief Judge Richard W. Roberts also required Edwards-Hamm to complete 100 hours of community service and banned her from getting a job in law enforcement while on probation, according to a statement from federal prosecutors.

Edwards-Hamm declined to comment on the matter when reached by telephone Monday.

In December, Edwards-Hamm pleaded guilty to alerting her brother, a Maryland prison inmate and the inmate’s brother that law enforcement officials were monitoring the phone calls of people suspected of trafficking illegal narcotics in the Washington region. She warned that federal officials were closing in, according to federal prosecutors.

Edwards-Hamm had privileged information as a member of the Prince George’s police department's narcotics enforcement division and a federal drug enforcement task force, federal prosecutors said. She was one of more than a dozen people indicted last year in connection with an alleged drug network suspected of selling heroin, prescription pills, cocaine and other illegal drugs in the D.C. area.

Prince George’s County police helped federal officials arrest Edwards-Hamm after learning of the investigation against her. The department placed her on administrative duty, and she eventually resigned from the force as part of her plea agreement.

“We continue to work daily with the FBI and our other federal partners in all aspects of crime reduction in our community; to include official misconduct,” Mark A. Magaw, county police chief, said in a statement. “The Prince George’s County Police Department remains dedicated to ensuring the highest standard of integrity and maintaining the public’s trust in our agency.”