GREENSBORO, N.C. — A judge has ordered the federal prison system to make sure a North Carolina woman gets timely treatment for breast cancer while she is incarcerated in Alabama.

The News & Record of Greensboro reports that a judge admonished federal officials for what she called a 'longstanding failure' to make sure 47-year-old Angela Beck gets the cancer treatments she needs.

The Monday order would require prison officials to coordinate with medical providers to get tests and treatment for Beck, who is serving almost 14 years for drug and firearms offenses.

Beck filed a federal lawsuit, saying her prison in Alabama waited over eight months to get a biopsy after she found a lump in her breast in August 2017, then another two months to schedule surgery.

MORE STORIES ON WCNC.COM

NC child abuse victims get more time for civil cases in bill

This fake license plate got an officer's attention and the driver arrested

NC man pleads guilty to killing 3 Muslim students