Reported herein is the total synthesis of the trisaccharide repeating unit of Streptococcus pneumoniae zwitterionic polysaccharide Sp1 containing a rare sugar, 2-acetamido-4amino-2,4,6-trideoxy-D-galactose (AAT), and three consecutive 1,2-cis-glycosidic linkages. The total synthesis was completed via highly stereoselective glycosylations and late-stage oxidation as key steps involving a longest linear sequence of 21 steps with 4.4% overall yield.