In Justice Anthony Kennedy’s final term, he stepped away from not only the court but at least part of his legacy as the court’s swing justice.

Kennedy, who announced his resignation Wednesday, defied his long-established reputation by swinging solely in a conservative direction this year.

While Kennedy is known for siding with his liberal colleagues on issues such as abortion rights, same-sex marriage and affirmative action, none of those hot-button issues came squarely before the court this term. As the court dealt with President Donald Trump’s travel ban and a slew of a lower-profile disputes relating to the First Amendment, union rights and cellphone privacy, Kennedy often found himself in the company of his Republican-appointed colleagues.

One reason Kennedy may have seemed more conservative this term: The court – perhaps at his urging – punted on some questions that might have aligned him with liberals, including cases involving partisan gerrymandering and one about religious business owners’ rights to refuse service to gay customers.

In 2017-18, Justice Kennedy swung to the right Kennedy's vote was key to determining 14 Supreme Court cases in the current term — and in 13 of them (shown below) he aligned with other conservatives on the court. Not once did he side with the court's liberal wing. Kennedy Roberts Alito Gorsuch Thomas Kennedy Roberts Alito Gorsuch Thomas Conservative Janus v. AFSCME Major, if expected, ruling that the fees government-employee unions charge non-members to cover negotiating contracts are unconstitutional. A serious blow to what’s left of the U.S. labor movement and to Democrats, who garner the bulk of union support Conservative Trump v. Hawaii The current iteration of President Trump’s controversial travel ban policy targeting majority-Muslim countries is upheld as a valid exercise of presidential power, despite Trump’s anti-Muslim campaign rhetoric Conservative National Institute of Family and Life Advocates v. Becerra A California law regulating counseling by anti-abortion groups is ruled likely unconstitutional for burdening and compelling speech in violation of the First Amendment Conservative Abbott v. Perez Lower court erred by assuming that a 2013 Texas redistricting plan was tainted by bias against Latinos and African-Americans. Justices struck down one state House district map but noted plan was nearly identical to what a court ordered to remedy an earlier map Conservative Ohio v. American Express Amex didn’t violate antitrust law by using contracts with merchants to prohibit “steering” customers to competing cards which charge merchants lower fees Conservative Currier v. Virginia Narrow ruling that the double jeopardy rights of a Virginia man charged with a break-in weren’t violated by successive trials when he agreed in advance to splitting the charges that way Conservative Husted v. Randolph Institute Notable ruling that Ohio’s system for purging its voter rolls of inactive voters doesn’t violate federal laws governing the practice Conservative Epic Systems Corp. v. Lewis Significant decision that employers can use boilerplate contracts to force employees into individual arbitration over compensation and overtime issues, precluding class-action or group relief Conservative SAS Institute v. Iancu When using a particular procedure to reconsider a patent, the Patent & Trademark Office must consider all claims against the patent Conservative Jesner v. Arab Bank Foreign companies can’t be sued in the U.S. under the Alien Tort Claims Act for alleged misconduct overseas, such as contributing to human rights violations Conservative Encino Motorcars v. Navarro Car dealership service advisers are not legally entitled to overtime pay under an exemption that also covers salespeople Conservative Jennings v. Rodriguez Federal law does not give detained immigrants the right to periodic hearings for release on bond Conservative Murphy v. Smith Court says a 1996 law requires prisoners who win suits to give as much as 25 percent of awards to lawyers