WASHINGTON Ė President Donald Trump used his State of the Union address on Tuesday to both detail his agenda and highlight his accomplishments over his first two years in office.

The speech was Trump's first before a divided government with Democrats now in control of the House of Representatives. And that division was on full display during his address as Democrats stayed seated and refrained from clapping at various points during his remarks.

Trump used much of his speech to highlight his plans for immigration reform, along with boasting about the economy and low unemployment rate. He also took on the various investigations revolved around his presidency, including both the special counsel investigation into Russian meddling and the probes that Democrats have started in the House.

Here's the full text of Trump's speech released from the White House:

Madam Speaker, Mr. Vice President, Members of Congress, the First Lady of the United States, and my fellow Americans:

We meet tonight at a moment of unlimited potential. As we begin a new Congress, I stand here ready to work with you to achieve historic breakthroughs for all Americans.

Millions of our fellow citizens are watching us now, gathered in this great chamber, hoping that we will govern not as two parties but as one Nation.

The agenda I will lay out this evening is not a Republican agenda or a Democrat agenda. It is the agenda of the American people.

Many of us campaigned on the same core promises: to defend American jobs and demand fair trade for American workers; to rebuild and revitalize our Nation's infrastructure; to reduce the price of healthcare and prescription drugs; to create an immigration system that is safe, lawful, modern and secure; and to pursue a foreign policy that puts America's interests first.

There is a new opportunity in American politics, if only we have the courage to seize it. Victory is not winning for our party. Victory is winning for our country.

This year, America will recognize two important anniversaries that show us the majesty of America's mission, and the power of American pride.

In June, we mark 75 years since the start of what General Dwight D. Eisenhower called the Great Crusade Ė the Allied liberation of Europe in World War II. On D-Day, June 6, 1944, 15,000 young American men jumped from the sky, and 60,000 more stormed in from the sea, to save our civilization from tyranny. Here with us tonight are three of those heroes: Private First Class Joseph Reilly, Staff Sergeant Irving Locker, and Sergeant Herman Zeitchik. Gentlemen, we salute you.

In 2019, we also celebrate 50 years since brave young pilots flew a quarter of a million miles through space to plant the American flag on the face of the moon. Half a century later, we are joined by one of the Apollo 11 astronauts who planted that flag: Buzz Aldrin. This year, American astronauts will go back to space on American rockets.

In the 20th century, America saved freedom, transformed science, and redefined the middle class standard of living for the entire world to see. Now, we must step boldly and bravely into the next chapter of this great American adventure, and we must create a new standard of living for the 21st century. An amazing quality of life for all of our citizens is within our reach.

President Trump's State of the Union address was 5,247 words in length, about 10% shorter than his address last year. The longest address was Bill Clinton's in 1995 and the shortest was Lyndon Johnson in 1964. Address lengths in words:

But we must reject the politics of revenge, resistance, and retribution Ė and embrace the boundless potential of cooperation, compromise, and the common good.

Together, we can break decades of political stalemate. We can bridge old divisions, heal old wounds, build new coalitions, forge new solutions, and unlock the extraordinary promise of America's future. The decision is ours to make.

We must choose between greatness or gridlock, results or resistance, vision or vengeance, incredible progress or pointless destruction.

Tonight, I ask you to choose greatness.

Over the last 2 years, my Administration has moved with urgency and historic speed to confront problems neglected by leaders of both parties over many decades.

In just over 2 years since the election, we have launched an unprecedented economic boom Ė a boom that has rarely been seen before. We have created 5.3 million new jobs and importantly added 600,000 new manufacturing jobs Ė something which almost everyone said was impossible to do, but the fact is, we are just getting started.

Wages are rising at the fastest pace in decades, and growing for blue collar workers, who I promised to fight for, faster than anyone else. Nearly 5 million Americans have been lifted off food stamps. The United States economy is growing almost twice as fast today as when I took office, and we are considered far and away the hottest economy anywhere in the world. Unemployment has reached the lowest rate in half a century. African-American, Hispanic-American and Asian-American unemployment have all reached their lowest levels ever recorded. Unemployment for Americans with disabilities has also reached an all-time low. More people are working now than at any time in our history Ė 157 million.

We passed a massive tax cut for working families and doubled the child tax credit.

We virtually ended the estate, or death, tax on small businesses, ranches, and family farms.

We eliminated the very unpopular Obamacare individual mandate penalty Ė and to give critically ill patients access to life-saving cures, we passed right to try.

My Administration has cut more regulations in a short time than any other administration during its entire tenure. Companies are coming back to our country in large numbers thanks to historic reductions in taxes and regulations.

We have unleashed a revolution in American energy Ė the United States is now the number one producer of oil and natural gas in the world. And now, for the first time in 65 years, we are a net exporter of energy.

After 24 months of rapid progress, our economy is the envy of the world, our military is the most powerful on earth, and America is winning each and every day. Members of Congress: the State of our Union is strong. Our country is vibrant and our economy is thriving like never before.

On Friday, it was announced that we added another 304,000 jobs last month alone Ė almost double what was expected. An economic miracle is taking place in the United States Ė and the only thing that can stop it are foolish wars, politics, or ridiculous partisan investigations.

If there is going to be peace and legislation, there cannot be war and investigation. It just doesn't work that way!

We must be united at home to defeat our adversaries abroad.

This new era of cooperation can start with finally confirming the more than 300 highly qualified nominees who are still stuck in the Senate Ė some after years of waiting. The Senate has failed to act on these nominations, which is unfair to the nominees and to our country.

Now is the time for bipartisan action. Believe it or not, we have already proven that it is possible.

In the last Congress, both parties came together to pass unprecedented legislation to confront the opioid crisis, a sweeping new Farm Bill, historic VA reforms, and after four decades of rejection, we passed VA Accountability so we can finally terminate those who mistreat our wonderful veterans.

And just weeks ago, both parties united for groundbreaking criminal justice reform. Last year, I heard through friends the story of Alice Johnson. I was deeply moved. In 1997, Alice was sentenced to life in prison as a first-time non-violent drug offender. Over the next two decades, she became a prison minister, inspiring others to choose a better path. She had a big impact on that prison population Ė and far beyond.

Alice's story underscores the disparities and unfairness that can exist in criminal sentencing Ė and the need to remedy this injustice. She served almost 22 years and had expected to be in prison for the rest of her life.

More: Trump touts economy in State of the Union address, criticizes 'investigations'

Related: Here's who lawmakers are bringing to Trump's State of the Union address

In June, I commuted Alice's sentence Ė and she is here with us tonight. Alice, thank you for reminding us that we always have the power to shape our own destiny.

When I saw Alice's beautiful family greet her at the prison gates, hugging and kissing and crying and laughing, I knew I did the right thing.

Inspired by stories like Alice's, my Administration worked closely with members of both parties to sign the First Step Act into law. This legislation reformed sentencing laws that have wrongly and disproportionately harmed the African-American community. The First Step Act gives non-violent offenders the chance to re-enter society as productive, law-abiding citizens. Now, States across the country are following our lead. America is a Nation that believes in redemption.

We are also joined tonight by Matthew Charles from Tennessee. In 1996, at age 30, Matthew was sentenced to 35 years for selling drugs and related offenses. Over the next two decades, he completed more than 30 Bible studies, became a law clerk, and mentored fellow inmates. Now, Matthew is the very first person to be released from prison under the First Step Act. Matthew, on behalf of all Americans: welcome home.

As we have seen, when we are united, we can make astonishing strides for our country.

Now, Republicans and Democrats must join forces again to confront an urgent national crisis.

The Congress has 10 days left to pass a bill that will fund our Government, protect our homeland, and secure our southern border.

Now is the time for the Congress to show the world that America is committed to ending illegal immigration and putting the ruthless coyotes, cartels, drug dealers, and human traffickers out of business.

As we speak, large, organized caravans are on the march to the United States. We have just heard that Mexican cities, in order to remove the illegal immigrants from their communities, are getting trucks and buses to bring them up to our country in areas where there is little border protection. I have ordered another 3,750 troops to our southern border to prepare for the tremendous onslaught.

This is a moral issue. The lawless state of our southern border is a threat to the safety, security, and financial well‑being of all Americans. We have a moral duty to create an immigration system that protects the lives and jobs of our citizens. This includes our obligation to the millions of immigrants living here today, who followed the rules and respected our laws. Legal immigrants enrich our Nation and strengthen our society in countless ways. I want people to come into our country, but they have to come in legally.

Tonight, I am asking you to defend our very dangerous southern border out of love and devotion to our fellow citizens and to our country.

No issue better illustrates the divide between America's working class and America's political class than illegal immigration. Wealthy politicians and donors push for open borders while living their lives behind walls and gates and guards.

Meanwhile, working class Americans are left to pay the price for mass illegal migration Ė reduced jobs, lower wages, overburdened schools and hospitals, increased crime, and a depleted social safety net.

Tolerance for illegal immigration is not compassionate Ė it is cruel. One in three women is sexually assaulted on the long journey north. Smugglers use migrant children as human pawns to exploit our laws and gain access to our country.

Human traffickers and sex traffickers take advantage of the wide open areas between our ports of entry to smuggle thousands of young girls and women into the United States and to sell them into prostitution and modern-day slavery.

Tens of thousands of innocent Americans are killed by lethal drugs that cross our border and flood into our cities Ė including meth, heroin, cocaine, and fentanyl.

The savage gang, MS-13, now operates in 20 different American States, and they almost all come through our southern border. Just yesterday, an MS-13 gang member was taken into custody for a fatal shooting on a subway platform in New York City. We are removing these gang members by the thousands, but until we secure our border they're going to keep streaming back in.