NEW YORK, NY - DECEMBER 07: A General View of  the Bull on Broadway on December 7, 2018 at the New York Stock Exchange in New York, NY.  (Photo by Rich Graessle/Icon Sportswire via Getty Images)
PHOTO: Rich Graessle/Icon Sportswire/Getty Images
NEW YORK, NY - DECEMBER 07: A General View of the Bull on Broadway on December 7, 2018 at the New York Stock Exchange in New York, NY. (Photo by Rich Graessle/Icon Sportswire via Getty Images)
Now playing
01:41
The bull market is ten years old. Here's how it can keep climbing
Now playing
01:36
Marriott CEO: Vaccinations are 'the key' to travel recovery
Nigerian former Foreign and Finance Minister Ngozi Okonjo-Iweala smiles during a press conference on July 15, 2020, in Geneva, following her hearing before World Trade Organization 164 member states' representatives, as part of the application process to head the WTO as Director General. (Photo by Fabrice COFFRINI / AFP) (Photo by FABRICE COFFRINI/AFP via Getty Images)
PHOTO: FABRICE COFFRINI/AFP/Getty Images
Nigerian former Foreign and Finance Minister Ngozi Okonjo-Iweala smiles during a press conference on July 15, 2020, in Geneva, following her hearing before World Trade Organization 164 member states' representatives, as part of the application process to head the WTO as Director General. (Photo by Fabrice COFFRINI / AFP) (Photo by FABRICE COFFRINI/AFP via Getty Images)
Now playing
04:05
WTO Chief: We need equitable and affordable access to vaccines
Goya Foods President Robert Unanue speaks at a press conference with Carlos Vecchio, the Venezuelan Ambassador who is recognized by the United States on December 21, 2020 in Doral, Florida. The two held the press conference to discuss details of a recent shipment of humanitarian aid to Venezuela, donated by Goya Foods. (Photo by Joe Raedle/Getty Images)
PHOTO: Joe Raedle/Getty Images
Goya Foods President Robert Unanue speaks at a press conference with Carlos Vecchio, the Venezuelan Ambassador who is recognized by the United States on December 21, 2020 in Doral, Florida. The two held the press conference to discuss details of a recent shipment of humanitarian aid to Venezuela, donated by Goya Foods. (Photo by Joe Raedle/Getty Images)
Now playing
03:24
Goya CEO under fire for false Trump election claims
Now playing
01:23
'There should be no threats': Biden's message to union-busters
Misinformation Trump Capitol March rn orig_00004630.png
Misinformation Trump Capitol March rn orig_00004630.png
Now playing
04:08
These Trump supporters are convinced he will be president again on March 4
PHOTO: CNN
Now playing
02:54
'Biggest trial of my life': Landlord says eviction moratorium has drained her savings
Now playing
01:36
Michael Bolton wants you to break up with Robinhood
Now playing
01:57
Fed chief downplays inflation concerns
Now playing
04:34
See what has happened to Trump's DC hotel after his loss
Now playing
01:41
Meet the 29-year-old cancer survivor set to make history in space
WASHINGTON, DC - JANUARY 15: MyPillow CEO Mike Lindell waits outside the West Wing of the White House before entering on January 15, 2021 in Washington, DC. (Photo by Drew Angerer/Getty Images)
PHOTO: Drew Angerer/Getty Images
WASHINGTON, DC - JANUARY 15: MyPillow CEO Mike Lindell waits outside the West Wing of the White House before entering on January 15, 2021 in Washington, DC. (Photo by Drew Angerer/Getty Images)
Now playing
00:39
MyPillow and its CEO Mike Lindell sued by Dominion
Bill Gates AC intv 022021
PHOTO: CNN
Bill Gates AC intv 022021
Now playing
02:32
Will Bill Gates go back to shaking hands? Hear his thoughts
02 Bill Gates AC intv 02202021
PHOTO: CNN
02 Bill Gates AC intv 02202021
Now playing
02:13
Bill Gates optimistic about climate policy under Biden WH
Now playing
05:37
Texas mayor: We were not prepared
Now playing
03:05
Watch lawmakers grill Robinhood's CEO
(CNN Business) —  

The Dow and the S&P 500 finished at new all-time highs on Thursday.

Federal Reserve Chairman Jerome Powell shored up interest rate cut hopes with his testimony before the Senate Banking Committee Thursday and House Financial Services Committee Wednesday. This gave stocks a boost.

The Dow (INDU) closed 0.9%, or 228 points, higher at 27,088 points. The benchmark topped 27,000 for the first time on Thursday.

The S&P 500 (SPX) climbed 0.2% to 3,000 points, surpassing the record it set on July 3.

The Nasdaq Composite (COMP), which closed at a new all-time high of 8,203 points on Wednesday, slipped and finished the day down 0.1%

The market shrugged off slightly higher-than-expected consumer price data, released earlier. Inflation rose 1.6% year-over-year in June, as expected, but core inflation rose slightly to 2.1%, versus the expected 2%. Rising inflation doesn’t bode well for the interest rate cut the market is hoping for.

Expectations for a quarter-percentage-point cut at the Fed’s July 31 meeting are 80%, with the remaining 20% hoping for a 50 basis point decrease, according to the CME’s FedWatch tool.

In remarks before the House on Wednesday, Powell noted that inflation continued to be below the central bank’s 2% target.

Powell also cited uncertainties about trade and the global economy as threats to US economic growth during his Wednesday testimony. The market read his comments to mean that an interest rate cut could come at the end of the month.

On the trade front, President Donald Trump earlier tweeted that China is “letting us down in that they have not been buying the agricultural products from our great farmers that they said they would.”

The United States and China agreed a ceasefire on raising tariffs on the sidelines of the G20 summit in Japan last month.

Powell appeared before the Senate Banking Committee on Thursday morning, where his two-day bi-annual testimony concluded.

*Correction: A previous version of this story misstated the day in first graf.