KITTERY — The United States Navy has awarded a $94 million contract for planning and material efforts for the repair of a submarine that was severely damaged by fire.

The Naval Sea Systems Command said Friday it awarded the contract to a team led by General Dynamics Electric Boat to provide design and planning, repair material ordering, and pre-fabrication to restore the USS Miami. The contract includes an option worth $6 million more.

The submarine suffered $450 million in damage in the May fire. General Dynamics Electric Boat is based in Connecticut.

Former shipyard worker Casey James Fury of Portsmouth, who is accused of setting the fire, remains held without bail while awaiting trial in federal court in Portland. Fury told Navy investigators that he set the fire because he was feeling anxious and wanted to go home.