WATCH: President Biden Addresses United Nation For the Last Time

President Joe Biden highlighted his lengthy accomplishments from five decades of public service on Tuesday when he addressed the United Nations General Assembly for the fourth and final time.

While he acknowledged the challenges the United States and the world are still facing--the wars in Ukraine and the Middle East, the contentious presidential race between Vice President Kamala Harris and Donald Trump--President Biden remains "stubbornly optimistic" about America's future and its relationships with its foreign allies.

The President also spoke about his decision to step aside after fifty years of public service to pass the torch to Vice President Harris. Emphasizing the importance of protecting democracy, President Biden said, "Some things are more important than staying in power."

The President called on the General Assembly to "stand firm behind Ukraine, push Israel and Hamas to accept a ceasefire deal," and to keep pressure on the opposing generals in Sudan's brutal civil war to "end this war now."

"Being President has been the honor of my life," he told the packed hall, and added that while "there's so much more I want to get done," President Biden realized it was "time for a new generation of leadership to take this country forward."

The reality of President Biden's lone term coming to an end has also begun to sink in as Vice President Harris has been working with him to create the smoothest possible transition of power after he leaves office.

Watch the President's final address to the UN General Assembly, below.