Gold jumped to its highest in more than nine months on Friday as the dollar retreated on political uncertainty in the United States and a suspected Islamist attack in Spain boosted bullion's safe-haven appeal.
Spot gold, flat at 1,288.06 per ounce in trading Friday, earlier in the day touched its highest since Nov. 9 at $1,300.80 per ounce.
U.S. gold futures for December delivery rose settled down at $1,291.60 per ounce.
"There is clearly more for financial markets to be concerned about," Danske Bank analyst Jens Pedersen said, referring to U.S. political uncertainty and the attack in Spain. "That has led to a risk-off environment, and that's supportive for gold."
Spain mounted a sweeping anti-terrorism operation on Friday after a suspected Islamist militant drove a van into crowds in Barcelona, killing 13 people in what police suspect was one of a planned wave of attacks.
Markets were also uncertain about U.S. President Donald Trump's ability to push ahead with policies after the disbandment of two high-profile business advisory councils over his remarks on violence in Virginia.