Acting Navy Secretary Thomas Modly resigned on Tuesday after he faced mounting backlash for firing and ridiculing the commander of a U.S. aircraft carrier who pleaded for help stemming a coronavirus outbreak onboard.

Modly's resignation highlighted the U.S. military's struggle to meet increasingly competing priorities: maintaining readiness for conflict and safeguarding servicemembers as the virus spreads globally.

The episode deepened upheaval in navy leadership. The navy's last secretary was fired in November over his handling of the case of a Navy SEAL convicted of battlefield misconduct. The Navy SEAL had won the support of President Donald Trump.