Three appeals court picks—David Porter, Ryan Nelson and Richard Sullivan—were among the 15 names the U.S. Senate confirmed to federal judgeships Thursday, after Senate Republicans and Democrats agreed to vote on a batch of judicial nominees as part of a compromise.

Senators, who agreed to vote on the group of nominations Thursday before returning to campaigning in their home states ahead of the 2018 midterms, also approved a dozen picks to federal trial courts.