Scotland now has eight cities after Dunfermline won the coveted status as part of celebrations for the Queen’s Platinum Jubilee.
The Fife town used to be the country’s capital and now joins Glasgow, Edinburgh, Dundee, Aberdeen, Inverness, Stirling and Perth as a city.
But how much do you know about Dunfermline?
Where is Dunfermline and how big is it?
Dunfermline is located in the west of the Kingdom of Fife, around three miles inland from the Firth of Forth.
It has a population estimated to be around 58,508.
The former town’s bid pointed out that its annual fireworks display attracts around 30,000 local people, while the Christmas light event packs the town centre with 10,000 people.
One of the fastest-growing urban areas in Scotland, many new arrivals have been attracted by its short commute time to Edinburgh.
During the Middle Ages, Dunfermline was one of the seats of the kings of Scotland, and ruins of the royal residence of that time survive in Pittencrieff Park.
Dunfermline Abbey is the final resting place of 11 Scottish kings and queens, including Robert The Bruce.
The surviving nave of the abbey church, an example of massive Norman architecture, served as a parish church until 1821.
Virtually destroyed by fire in 1624, Dunfermline later developed as a centre for the manufacture of linen and damask, with the associated industries of bleaching and dyeing.
Today its economy is based primarily on retail and financial services.
Any famous residents?
Dunfermline’s most famous son is Andrew Carnegie, whose steel industry helped build America.
His philanthropy started the world’s public library system and he gave away the equivalent of £52bn dollars in today’s money.
The millionaire industrialist and philanthropist was born in Dunfermline in 1835 and he was especially generous to his hometown, which remains the headquarters of all the Carnegie Trusts.
More recently, singer Barbara Dickson and critically-acclaimed author Iain Banks were born in Dunfermline, as was former Celtic and Scotland captain Scott Brown.
In terms of music, new wave and punk rock band The Skids formed in Dunfermline in the late 70s, as were rock group Big Country in the early 80s.
Big Country’s lead singer Stuart Adamson moved there from the nearby village of Crossgates.
Going further back, Nazareth formed in Dunfermline in the late 60s and have an impressive discography that spans the last four decades.
Ancient capital of Scotland
From the reign of King Malcolm III and Queen Margaret in the mid-11th century, Dunfermline became the seat of power and capital of Scotland.
The town remained the nation’s capital until the brutal murder of James I in Perth in 1437, when administrative power was passed to Edinburgh.
What’s there for visitors?
Engines play a large part in several Dunfermline visitor attractions, including The Vintage Bus Museum, Lathalmond Railway Museum and Knockhill Racing Circuit, which regularly hosts national motorsports events.
Any joy on the football pitch?
Dunfermline Athletic, or the Pars, have just endured a disastrous season. They finished second bottom of the Championship and then lost to Queen’s Park in the play-offs and were relegated to League One.
The club’s manager John Hughes has also departed East End Park.
Historically, Dunfermline have fared better – winning the Scottish Cup in 1961 and 1968. They also reached the semi-final of the European Cup Winners Cup in the 1968-69 season.
Economic boost beckons
Provost of Fife, Councillor Jim Leishman, said the award will help Dunfermline to grow economically.
He said: “The official title of city will give Dunfermline the wider recognition that it deserves as one of the fastest-growing, urban areas in Scotland, offering all the amenities that any modern city could hope for.
“City status will help us grow economically and as a tourist destination and will have a positive impact on Dunfermline and the surroundings.
“Of course, the people of Dunfermline have always known that Dunfermline is a city, that’s why we have the City Car Park, the City Hotel and City Cabs but it’s great to finally get official recognition of this.”
Meanwhile, Scottish secretary Alister Jack said it was “fitting” that Dunfermline becomes a city as the Queen’s Platinum Jubilee is celebrated.
“Warmest congratulations to Dunfermline on gaining city status,” he said. “Businesses and communities alike will enjoy the benefits of this prestigious new title.
“Being awarded city status can give places a real boost, from helping grow the local economy, to raising its profile, to instilling civic pride.
“For a place with such rich royal history, it is fitting that Dunfermline is becoming a city as we celebrate our longest-serving monarch’s Platinum Jubilee.”
And finally… the new Doctor Who went to Dunfermline High School
Scottish Bafta award winner Ncuti Gatwa was named as the new Doctor Who earlier this month.
The Sex Education Actor will replace Jodie Whittaker.
Gatwa, 29, was raised in Edinburgh, with his parents having moved there from Rwanda. Growing up, he went to Boroughmuir High School in Edinburgh and Dunfermline High School.
He went on to attend the Royal Conservatoire of Scotland in Glasgow, graduating with a BA in acting in 2013.