The embattled airports authority overseeing the $6 billion Dulles Rail project resolved one of its recent controversies Wednesday morning by reinstating union executive Dennis Martire to the board.

The Metropolitan Washington Airports Authority board announced that Virginia and Martire had reached an agreement in their legal battle and reinstated Martire. Martire then announced he would resign from the board at the end of October to avoid being a "distraction."

Gov. Bob McDonnell ousted Martire from the board earlier this year, citing his lavish trips abroad on the airports' dime, but Martire fought back in court, saying the governor was being unfairly political.

The legal tussle was costing both parties in escalating attorney's fees. The authority had already paid $75,000 for Martire's attorneys, but has not decided whether it will pay all of his fees.

Read live updates from MWAA's board meeting.