qnli question: What federal district court has its main courthouse in Brooklyn? sentence: The US Court of Appeals for the Second Circuit and US Court of International Trade are also based in New York, also on Foley Square in Manhattan.