A federal judge on Wednesday dismissed most parts of Sprint Nextel Corp.'s lawsuit challenging AT&T Inc.'s proposed $39 billion acquisition of T-Mobile USA, but refused to throw out the entire case.

Judge Ellen Huvelle's decision to let one part of Sprint's case to go forward could complicate AT&T's defense of the merger, which faces a separate legal challenge from government antitrust enforcers.

C...