  We present a six-dimensional T^2/Z_2 orbifold model which arises as anintermediate step in the compactification of the heterotic string to the MSSM.The orbifold contains two pairs of inequivalent fixed points, with unbrokenlocal gauge groups SU(5) and SU(2)xSU(4), respectively, the intersection ofwhich gives the standard model gauge group. All bulk and brane anomalies arecancelled by the Green--Schwarz mechanism. At each SU(5) fixed point, there isa localised \bar{5}+10 standard model generation, while the third generationand the Higgs fields come in split bulk multiplets due to the breaking of SU(5)at the other fixed point.
All bulk and brane anomalies are cancelled by the Green--Schwarz mechanism.