Texas has a brand new federal district judge.

The Senate on April 10 confirmed David Morales to serve on the U.S. District Court for the Southern District of Texas in Corpus Christi.

“His wealth of experience, coupled with his dedication to the rule of law and principled professionalism will serve Texans in Corpus Christi and the Southern District well,” said Sen. Ted Cruz, R-Texas, in a statement.

Trump nominated Morales, who didn't immediately return a call seeking comment, to the bench in April 2018.

Morales moves to the bench after working as a partner in the Austin office of Kelly Hart & Hallman. He served as former Texas Gov. Rick Perry's chief attorney from 2011 until 2014. From 2007 until 2011, Morales served as assistant Texas attorney general and rose to deputy first assistant under then- Texas Attorney General Greg Abbott, who is now Texas's governor.

Morales also has a connection to the president on his resume. In 2010, he was the lawyer who made the call to end the state's investigation into Trump University while serving as a deputy Texas attorney general. In 2016, during the heat of the presidential campaign, John W. Owens, a former assistant Texas attorney general, accused Abbott of rejecting a proposed $5.4 million lawsuit in 2009 against Trump University for political reasons. Abbott and Morales both denied the claim.

Sen. John Cornyn, R-Texas, said Morales would serve Corpus Christi and the Southern District well.

“In David, President Trump has selected a highly-trained lawyer who has spent his career mastering complex legal issues and serving the people of Texas,” said Cornyn in the statement.