A stator comprising: a stator core that includes a plurality of teeth radially projecting with a center axis of the stator as a center; and an insulator that covers at least the plurality of teeth, wherein a plurality of coil portions is formed by winding wires around portions of the insulator that cover the plurality of teeth, wherein the insulator includes a first wall portion that has a cylindrical shape and is provided on a side of the center axis with respect to the plurality of coil portions , and a molded portion that contains a resin and is formed on a side of the center axis with respect to the first wall portion, each of the wires pulled out from each of the plurality of coil portions includes a wire terminal end portion on a tip side, and a wire extended portion (15a1, 15a2) between the wire terminal end portion and the coil portion , and the wire extended portion (15a1, 15a2) straddles the first wall portion, and a wire connecting member to which the wire terminal end portion is connected is held by the molded portion characterised in that, said wire connecting member has an annular shape , the wire terminal end portion is electrically and mechanically connected to the wire connecting member , the insulator further includes a second wall portion that is provided closer to the center axis than the first wall portion is, and the molded portion is formed by resin being filled between the first wall portion and the second wall portion, wherein the wire connecting member is embedded in the molded portion while being fitted between the first wall portion and the second wall portion, a stator core that includes a plurality of teeth radially projecting with a center axis of the stator as a center; and an insulator that covers at least the plurality of teeth, wherein a plurality of coil portions is formed by winding wires around portions of the insulator that cover the plurality of teeth, wherein the insulator includes a first wall portion that has a cylindrical shape and is provided on a side of the center axis with respect to the plurality of coil portions , and a molded portion that contains a resin and is formed on a side of the center axis with respect to the first wall portion, each of the wires pulled out from each of the plurality of coil portions includes a wire terminal end portion on a tip side, and a wire extended portion (15a1, 15a2) between the wire terminal end portion and the coil portion , and the wire extended portion (15a1, 15a2) straddles the first wall portion, and a wire connecting member to which the wire terminal end portion is connected is held by the molded portion characterised in that, said wire connecting member has an annular shape , the wire terminal end portion is electrically and mechanically connected to the wire connecting member , the insulator further includes a second wall portion that is provided closer to the center axis than the first wall portion is, and the molded portion is formed by resin being filled between the first wall portion and the second wall portion, wherein the wire connecting member is embedded in the molded portion while being fitted between the first wall portion and the second wall portion, <EOS>