Investors have long sought out gold as a haven during times of economic and political uncertainties, and with escalating tensions between the U.S. and North Korea over nuclear threats, the price of the precious metal has been rising.

The leaders of the respective nations, President Donald Trump and Kim Jong-un, have recently exchanged in a war of words over North Korea's ongoing nuclear weapon tests. President Trump has urged world leaders to levy more sanctions on North Korea while also threatening military action.

And on Friday, North Korea's foreign minister warned that the country could test a hydrogen bomb over the Pacific Ocean in response to said threats of military action.

With the backdrop of potential turmoil between the two nations the price of gold was climbing to $1,298.80 per ounce during Friday afternoon trading.

Shares of Barrick Gold Corp (BAX) , the largest gold mining company in the world, were rising in Friday afternoon trading, as were shares of Canadian-based gold mining company Agnico Eagle Mines Ltd. (AEM) . 

Shares of other miners of the precious metal were higher on Friday, including Colorado-based miner Newmont Mining (NEM) , and Royal Gold (RGLD) , which operates mines in 20 countries around the world.

More of What's Trending on TheStreet:

More from Commodities

Raw Commodities Reached Cyclical Low; 2019 To See Comeback

Raw Commodities Reached Cyclical Low; 2019 To See Comeback

Gold to Retake Reins; Palladium to See 'Tremendous Gain' in 2019

Gold to Retake Reins; Palladium to See 'Tremendous Gain' in 2019

Economist Perspective: Post-G20 Market Implications

Economist Perspective: Post-G20 Market Implications

Investing Is Tough in a World Where Trump Presides

Investing Is Tough in a World Where Trump Presides

What the Market Reaction to the G-20 Taught Us About 2019 Expectations

What the Market Reaction to the G-20 Taught Us About 2019 Expectations