Question: federal judges are appointed for how long ​?
Answer: "Article III federal judges" (as opposed to judges of some courts with special jurisdictions) serve "during good behavior" (often paraphrased as appointed "for life"). Judges hold their seats until they resign, die, or are removed from office.