After his first six months in office, President Joe Biden has seen a sharp decline in his job approval ratings, offering a warning that Democrats may not be able to hold their tenuous grasp on the House and Senate in the 2022 midterm elections.

But in recent weeks, Biden has made a comeback. A series of bills have passed that have at least temporarily quelled simmering sentiment that his administration has been ineffective.

A gun safety bill was passed in June amid growing public pressure after the school shooting in Uvalde, Texas. In early August, the CIA carried out a drone killing of Al Qaeda leader Ayman al-Zawahiri in Kabul, Afghanistan. The killing came after the Biden administration faced sharp criticism in 2021 over the military pullout from the region.

On Thursday, Biden signed an executive order to support the semiconductor industry with the CHIPS and Science Act.

But arguably the biggest victories for Biden have come with the Inflation Reduction Act — a $750 billion package that addresses climate change, health care and deficit reduction — which was signed on Aug. 16. Then there was Tuesday's announcement that the administration would cancel $10,000 of student debt to low- and middle-income borrowers.

Recent poll numbers showed that Biden was experiencing a comeback prior to the two major pieces of legislation.

According to a CBS News poll, conducted in late July, Biden had a 42% approval rating and 58% disapproval rating. The latest poll from CBS News, conducted from Aug. 24 -26, showed Biden rebounded with a 45% approval rating and a 55% disapproval rating.

An Economist/YouGov poll from Aug. 13 - 16, showed Biden with a 44% approval rating and a 51% disapproval rating.

Right-leaning Rasmussen Reports, showed Biden with a 44% approval rating and a 55% disapproval rating. It's a sharp jump from mid-July when Rasmussen showed Biden with a 37% approval rating and a 61% disapproval rating.

Biden could see a jump from the last Gallup poll, which was conducted from Aug. 1 to Aug. 23, and showed the president had a 44% approval rating and a 53% disapproval rating. The 44% approval rating was his highest of 2022.