US stocks closed slightly lower as drops in shares of energy companies and consumer goods makers outweighed gains in technology companies such as Apple.
Investors also worked through the Federal Reserve's latest policy statement. The Fed did not make any changes to interest rates but left the door open for increases later this year.
The Dow Jones industrial average fell 1.58 points, less than 0.1%, to 18472.17. The Standard & Poor's 500 index lost 2.60 points, or 0.1%, to 2166.58.
The technology-heavy Nasdaq composite rose 29.76 points, or 0.6%, to 5139.81.
Apple jumped 6.36 US dollars, or 6.6%, to 103.03 dollars. While the company reported lower revenue and iPhone sales, it still earned 10.5 billion dollars last quarter, well above analysts' estimates.
Apple had been one of the biggest drags on the market this year as investors became concerned that its years of massive growth were coming to an end. The firm nearly erased its loss for the year.
"The expectations for Apple were abysmal," said Daniel Morgan, a portfolio manager at Synovus Trust Company, who owns Apple shares.
"Everyone is waiting for later this year, when Apple releases new products."
Apple, one of the 30 stocks in the Dow Jones industrial average, is the first of the major technology companies to report this week.
Investors got results from Facebook after the close of trading on Wednesday, which will be followed by Amazon and Google later this week.
Coca-Cola, another component of the Dow, fell 1.48 dollars, or 3.3%, to 43.40 dollars after the beverage giant trimmed its sales outlook for the year, citing weak demand in China and other international markets.
The firm has faced headwinds in the US and internationally as more consumers move away from sugary drinks.
Twitter, which also reported its results late on Tuesday, plunged 2.68 dollars, or 15%, to 15.77 dollars.
The social media company reported another loss and said user adoption rates continue to slow.
Roughly 313 million people regularly used Twitter last quarter, a fraction of the 1.6 billion people who use Facebook regularly.
"It's really now becoming a question on whether Twitter as a concept is something financially viable," Mr Morgan said. "Fundamentally, is this going to work?"
The Federal Reserve voted to keep interest rates unchanged while noting that "near-term risks" to the economy have "diminished".
The Fed said the US job market has rebounded, with strong job gains in June following weak growth in May.
Investors will get another policy decision by one of the world's central banks on Friday, when the Bank of Japan is likely to vote to increase its economic stimulus efforts.
Benchmark US crude fell 1 dollar, or roughly 2.3%, to close at 41.92 dollars a barrel on the New York Mercantile Exchange, continuing its month-long decline.
Brent crude, used to price international oils, fell 1.40 dollars to 43.47 dollars a barrel in London.
Energy stocks were among the biggest decliners as oil prices fell. Marathon Oil, Transocean and Hess Corporation all fell roughly 4% or more.