It's been a hectic year for President Donald Trump in the courts, as he has repeatedly found himself and his administration facing federal judges across the country.

While some of the opinions have been in his favor, like the U.S. Supreme Court allowing his long-promised wall on the southern border to be built, other rulings have ended in key defeats.

Here's a look at five of the most significant Trump-related court cases of 2019, some of which will continue well into 2020.

House Judiciary's impeachment lawsuits

A pair of district court judges in Washington, D.C., handed down rulings within weeks of each other that sided with the U.S. House's ability to conduct oversight and obtain materials that congressional lawyers argued are key to the impeachment inquiry.