The gates of St Andrews Harbour have been removed, three months after they were wrecked during Storm Babet.
They're being sent to Wales for repairs, which are expected to cost £3 million.
The gates are used to control the flow of water between the inner and outer sections of the harbour.
It's hoped they'll be reinstated by Easter.
A spokesperson for St Andrews Harbour Trust said: "These crucial repairs will allow us to resume full management of both the harbours and the seabed.
"At the moment, there is no protection in the event of a storm surge.
"With the gates repaired and reinstalled, we will once again be able to use the water in the inner harbour to scour the outer harbour, thus helping to keep it clear of sand, debris and seaweed, something we cannot do without the gates.
"Currently, the channel has to be cleared by mechanical means every fortnight, at significant additional expense to the Harbour.
"The pier remains closed while we continue to fundraise and explore additional funding streams for the long-term repairs and the future-proofing of the slipway, pier and cliff."
A fundraiser for the harbour's repairs can be found here.