The process whose specific outcome is the progression of the ureter over time, from its formation to the mature structure. The ureter is a muscular tube that transports urine from the kidney to the urinary bladder or from the Malpighian tubule to the hindgut.