The dominant two-loop electroweak contributions to the anomalous magnetic moment of the muon