My wife and I both work in DC but live in MD. However, for the past 3 years, she ended up paying both DC and MD taxes by mistake. How can we recoup the DC taxes we paid?

The payroll company (ADP) at her work had her listed as paying taxes to DC (so presumably taxes which were withheld from her paycheck went towards paying DC taxes). However, when filing taxes for us jointly with MD as our taxable domicile, I think it showed that we had all the MD taxes (for her portion) due since the withheld taxes did not go towards that. She has since fixed this on ADP, but we are trying to see if we can recoup that DC payment as she may have paid taxes in both MD and DC.