A political deal which means Scottish fishermen will not have to throw tonnes of caught fish back into the sea has been hailed a success.
Fisheries Secretary Richard Lochhead praised the successful negotiations between the EU and Norway, which averted a "nonsensical and deeply flawed" situation which would have left "a trail of discards across the North Sea".
The deal means the cod quota for fishermen will remain unchanged this year.
This EU-Norway agreement has implications for the fishing industry in Scotland, both at sea and onshore, including 2013 quota decisions on North Sea cod, haddock, whiting and herring, as well as the setting of a catch limit for mackerel in the absence of agreement with Iceland and Faroes.
The talks this week, which involved senior Scottish representation, resumed after the second round ended in December without agreement.
Mr Lochhead said: "This deal is good news for Scotland's fishermen and builds on the successful outcome of December's fish talks in Brussels, showing significant increases across a range of key stocks that are reaping the benefit of sensible management measures.
"Importantly, we have now set mackerel limits that follow the scientific recommendations but do not in any way seek to reward the unacceptable actions of Faroe and Iceland to the detriment of the Scottish fishing industry.
"The deeply flawed cod plan proposed a further cut in quota when the stock is actually recovering. The only result would have been a trail of discards across the North Sea. This outcome will help prevent that nonsensical situation arising.
"The industry has much to look forward to in 2013 and while there will no doubt still be challenges ahead, for now at least they are able to plan ahead and be confident the future is looking brighter for them than it has for a long time."