KITTERY — The Portsmouth Naval Shipyard is expected to perform about one third of the work under a $94 million contract for planning and preliminary work repairing the USS Miami, the nuclear submarine that burned in an arson fire in May.

The contract was awarded to General Dynamics Electric Boat, based in Connecticut, which built the sub originally between 1986 and 1988, but about one third of the preliminary work will be done by the Portsmouth Naval Shipyard in Kittery, said Rep. Chellie Pingree, D-Maine, who sits on the House Armed Services Committee.

The sub was undergoing an overhaul at the Kittery shipyard when former shipyard worker Casey James Fury of Portsmouth allegedly set the fire that burned for five hours in the forward section of the sub before it could be extinguished. Fury remains held without bail while awaiting trial in federal court in Portland.

Officials have said they were optimistic the $900 million submarine can be repaired and the estimated cost is about $400 million to $450 million.

“There is going to be plenty of work for the Portsmouth Naval Shipyard and it’s clear that private industry partners like General Dynamics are key to getting the sub repaired and back in the fleet,” Pingree said in a statement.