In this Aug. 29, 2017, file photo, 20 and five dollar bills are displayed in San Anselmo, California.
California's economy has surpassed that of the United Kingdom to become the world's fifth largest, according to federal data made public Friday.
Meanwhile, the UK's economic output slightly shrunk over that time when measured in U.S. dollars, due in part to exchange rate fluctuations.
All economic sectors except agriculture contributed to California's higher GDP, said Irena Asmundson, chief economist at the California Department of Finance.
California last had the world's fifth largest economy in 2002 but fell as low as 10th in 2012 following the Great Recession.
Since then, the largest U.S. state has added 2 million jobs and grown its GDP by $700 billion.
The United Kingdom has 25 million more people than California but now has a smaller GDP, he said. »