It was a mixed close to a record-breaking week with the Dow Jones Industrial Average clinching a new all-time closing high and the S&P 500 snapping a five-day winning streak.

The S&P 500 was down 0.09%, and the Nasdaq also slid 0.09%. The Dow Jones Industrial Average rose 0.05% to a new record of 18,514.

A terrorist attack in France overnight cast a shadow of worry over global markets. At least 84 people were killed in Nice, France, after a heavy truck tore through crowds celebrating Bastille Day. The attacker was shot dead by officers after engaging in gunfire. French President Francois Hollande called the attack terrorism and has called for three days of mourning beginning on Saturday.

Travel stocks were declining on the expectation terrorism fears would impede demand. U.S. airlines including Delta (DAL - Get Report) , United Continental (UAL - Get Report) , and JetBlue (JBLU - Get Report) were each lower in early Friday trading. Cruise operators Carnival (CCL - Get Report) and Royal Caribbean (RCL - Get Report) were also lower.

Crude oil prices ended higher on Friday afternoon even after a weekly count of active oil-drilling rigs in the U.S. climbed for the sixth time in seven weeks. The number of rigs drilling for oil climbed by six to 357, according to Baker Hughes data.

West Texas Intermediate crude oil closed 0.68% higher at $45.99 a barrel on Friday. The commodity is up 1.2% for the week.

U.S. retail sales increased in June as consumers showed more confidence in spending than saving. Sales rose 0.6% last month, driven by big gains at home-improvement and garden retailers. Sales at stores such as Home Depot (HD - Get Report) enjoyed their largest monthly gain in six years. Economists had expected sales to inch 0.1% higher. The consumer has grown more willing to part with cash on signs the U.S. economy is on the mend.

"For the (Federal Reserve), this is encouraging news, though the question remains as to the potential fallout from Brexit (via a stronger dollar, weaker global growth) on the U.S. expansion in the months and quarters ahead," RBS Securities analysts wrote in a note. "We think Fed Chair (Janet) Yellen will be disinclined to act until she has more clarity on this front (e.g. how the US economy performs in Q3)."

The Consumer Price Index in June rose 0.2%, in line with estimates. Increases in the cost of gas, rent and medical care countered declines in food prices. Excluding food and energy, core consumer prices rose 0.2% in June.

Consumer sentiment in July weakened, according to the latest reading from the University of Michigan. Sentiment fell 89.5 in July, likely a fallout from market turmoil in the wake of the United Kingdom's vote to leave the European Union.

Industrial output in June rose at its fastest pace in nearly a year as the headwinds of a stronger U.S. dollar and weaker international demand began to fade. Gains in auto and utility output drove the headline number higher. Industrial production grew 0.6% in June, above an estimated 0.5% increase. May's decline of 0.4% was revised to show a 0.3% decrease.

Wells Fargo (WFC - Get Report) reported an in-line second-quarter with adjusted earnings of $1.01 a share. Revenue climbed nearly 4% to $22.16 billion, as analysts expected. A prolonged period of low interest rates kept profit under pressure.

Citigroup (C - Get Report)  topped estimates in its second quarter. The bank earned $1.24 a share, 14 cents higher than expected. Revenue sank 10% to $17.55 billion, though came in $80 million above forecasts.

"Broad-based strength across all core business segments demonstrates the resilience of Citi's operations against the backdrop of a challenging and volatile global economic environment, while expense management is improving the company's operational leverage," said Jim Cramer and Jack Mohr, portfolio managers of the Action Alerts PLUS Charitable Trust Portfolio. AAP holds WFC and C. Learn more now.

U.S. Bancorp (UBS - Get Report) rose after exceeding expectations in its recent quarter. The bank reported net income of 83 cents a share, 3 cents higher than a year earlier. Revenue climbed just more than 8% to $5.45 billion.