Law schools paid federal appeals judges anywhere from several thousand dollars for a lecture to nearly $278,000 for full-semester teaching in 2012 — at once buying prestige and giving students a direct line to some of the judiciary’s top legal minds.

Senior Judge Douglas Ginsburg of the U.S. Court of Appeals for the D.C. Circuit was the top earner, receiving $277,906 from New York University School of Law, according to the most recent financial disclosure reports judges must file under federal law. NYU Law paid $190,528 to D.C. Circuit Senior Judge Harry Edwards.