In February 2011, due to the civil war occurring in Libya, the United Nations authorized an arms embargo against Libya. To enforce this embargo, NATO started Operation Unified Protector which included both air and maritime elements. The maritime portion of the operation fell under the command of COM MC Naples. Operation Unified Protector officially ended on 31 October 2011, after the Libyan rebels had formed a transitional government.