Kevin McAleenan, named the acting head of the U.S. Department of Homeland Security after the abrupt resignation of Kirstjen Nielsen on Sunday, has long-ago Big Law ties and one of his former law school classmates is a U.S. Justice Department lawyer who blessed the Trump administration's first travel ban.

McAleenan is succeeding Nielsen at the helm of Homeland Security, serving as the acting secretary amid substantial turmoil over immigration policies. Nielsen, who met with Trump on Sunday, reportedly did not resign willingly. It's unclear how long McAleenan will serve as the temporary leader.

Nielsen's resignation comes at a critical moment, as the Trump administration faces several lawsuits over the president's use of a national emergency to divert funding to build a wall along the Mexico border and as Trump has threatened to close the Mexico border. Meanwhile, the U.S. Supreme Court is weighing whether to hear a challenge to Trump's move to rescind the Deferred Action for Childhood Arrivals immigration program.

“Despite our progress in reforming homeland security for a new age, I have determined that it is the right time for me to step aside,” Nielsen wrote in her resignation letter. “I hope that the next secretary will have the support of Congress and the courts in fixing the laws which have impeded our ability to fully secure America's borders and which have contributed to discord in our nation's discourse.”

McAleenan has served as the commissioner of U.S. Customs and Border Protection since March 2018. He earlier was the Obama-era deputy commissioner of the agency.

“The border cop image belies what is behind it. McAleenan is an attorney with degrees from the University of Chicago and Amherst College who pours over academic reports on migration trends and speaks of international aid as being vitally important to stemming the northward flow of Central Americans,” according to a report in The Washington Post. Two DHS sources told CNN that McAleenan is not an “ideologue or fire breather” on immigration.

McAleenan's government bios note his law degree and private practice service, and we've got a few details on that part of his career below.

>> McAleenan was formerly an associate in California at two different law firms. He worked at Gunderson, Dettmer, Stough, Villeneuve & Hachigian in Menlo Park from March 2000 to October 2001; and earlier at Sheppard, Mullin, Richter & Hampton in Los Angeles from November 1998 to February 2000. McAleenan got a shout-out in a Sheppard Mullin “alumni moves” feature last year. Greg Berk, based in Orange County, California, leads Sheppard Mullin's immigration practice. Sheppard Mullin's profits per equity partner dipped slightly last year, but revenue and head count grew, according to a report at sibling publication The American Lawyer. Gross revenue increased by 5.4 percent to $707.4 million, and revenue per lawyer was relatively flat at $991,000. Gunderson Dettmer was founded in 1995 in Silicon Valley and focuses on venture capital and emerging technology. “As veterans of the heady dot-com days may recall, Gunderson put itself on the map back in 1999 by leading the charge to $125,000 starting salaries,” Above the Law reported in 2008. McAleenan was admitted to the California state bar in 1998 but his status is now ineligible to practice based on nonpayment of annual dues.

Kevin McAleenan, commissioner of the Customs and Border Patrol office, testifies in the US Senate. Credit: YouTube

>> McAleenan graduated from the University of Chicago Law School in 1998. His classmates included Curtis Gannon, Manish Shah and David Sacks. Shah is a former federal prosecutor who is now serving on the U.S. District Court for the Northern District of Illinois. He was reportedly the first judge of South Asian descent to snag a post on that court. Sacks, the entrepreneur and investor, was formerly PayPal's chief operating officer. Gannon is a top lawyer in the Justice Department's Office of Legal Counsel, serving under Assistant Attorney General Steven Engel. Gannon, formerly the acting head of OLC, wrote the January 2017 memo supporting the legality of the Trump administration's travel ban. Gannon was a former clerk to the late Justice Antonin Scalia. McAleenan did not pursue any court clerkships. Prior to graduating law school, McAleenan was a legal assistant at Dewey Ballantine in Washington from September 1994 to March 1995.

>> Customs and border authorities understand “that electronic devices often contain personal information and, for that reason, has taken steps for many years to ensure that border searches of electronic devices are conducted in a judicious and transparent manner,” McAleenan said in a written statement at the time of his confirmation to the agency. He was responding to a question from Sen. Ron Wyden, D-Oregon: “Do you believe, as Chief Justice Roberts has said in the Supreme Court case Riley, that 'cell phones differ in both quantitative and a qualitative sense from other objects?'” McAleenan continued: “CBP takes steps to ensure that it only searches information residing on the device itself, and our agency has applied policy limitations that are above and beyond those which are constitutionally required. Border searches of electronic devices affect less than one-hundredth of one percent of travelers entering the United States, a significant majority of which do not concern U.S. citizens.”

>> “It's really important for your readers to understand the difference between the concept of family separation and prosecuting adults who cross the border illegally, even if they are bringing in children with them. We do not have a policy of administrative separation,” McAleenan told the Los Angeles Times in a Q&A in June 2018. The ACLU responded in a blog post: “McAleenan's comments continued the trend of Trump administration officials attempting to justify this unprecedented and horrific policy by spinning the truth and, worse, by making specious claims with little to no basis in fact.”