Bacteria split off first. Archaea and Eukarya stayed together longer, so they sit as sister branches. Carl Woese drew this tree by comparing ribosomal RNA.
Read down a column and you have the whole case. Two traits do most of the work: the nucleus splits Eukarya off, and the wall and the membrane split Bacteria from Archaea.