A new Reuters/Ipsos poll published on Tuesday found that the president’s approval rating now stands at 41 percent and is at its highest level since early June, while analysis from poll tracker FiveThirtyEight also shows Biden’s popularity improving.

Nonetheless, Biden’s approval is still lower than former President Donald Trump’s was at this stage in 2018 — 76 days before the November 6 midterm elections that year.

The new Reuters/Ipsos poll comes as Democrats appear to face tough midterm elections and Republicans remain poised to win control of the House of Representatives, though Biden’s party is still slightly favored to retain the Senate.

Biden’s approval was last above 40 percent in a Reuters/Ipsos poll in early June and had dipped as low as 36 percent in four polls in May, June and July.

The Reuters/Ipsos poll was conducted among 1,005 adults, including 458 Democrats and 379 Republicans, and had a margin of error of +/- 4 percent.

FiveThirtyEight analyzes Biden’s approval using a variety of polls and its own system of pollster ratings. It found the president had an approval rating of 40.7 percent as of Tuesday, compared to 54.4 percent who disapproved of the job he’s doing.

That’s a notable improvement over the past month. On July 23, FiveThirtyEight found Biden’s approval stood at just 37.9 percent, while disapproval was 56.9 percent.

Biden’s approval rating lags behind Trump’s approval at the same stage during his presidency.

On August 21, 2018, Trump’s approval stood at 41.8 percent and his disapproval was 52.8 percent, according to FiveThirtyEight’s analysis.

Democrats retook the House in the 2018 midterm elections but Republicans retained control of the Senate. Polls suggest a similar outcome in this year’s elections, with Republicans taking the House and Democrats maintaining a slim majority in the Senate.

However, FiveThirtyEight’s generic congressional ballot suggests Democrats were in a better position four years ago than Republicans are today. As of Tuesday, Democrats had 43.9 percent support on the generic ballot compared to 43.5 percent for the GOP.

Trump’s approval rating on November 5, 2018, stood at 41.9 percent, while his disapproval rating was 52.8 percent. The midterm elections took place on November 6 that year.

It remains to be seen how Biden’s approval will change between now and the midterm elections this November 8, and the recent rise in his popularity may have a limited effect on Senate and congressional races.

By contrast, Democrats led with 50.7 percent on November 6, 2018, while Republicans had 42 percent support.

Biden’s increased approval rating may be due to recent legislative victories, including the Inflation Reduction Act, which has revived a central part of the president’s agenda previously referred to as Build Back Better.

Voters will have a chance to weigh on those successes this November 8, as well as concerns about the economy, inflation, and the Supreme Court’s reversal of Roe v. Wade among other issues.