An electrical connector for connecting to a counter connector along a mating axis, the electrical connector comprising a first connector housing comprising a terminal cavity, characterized in that said electrical connector further comprises a second connector housing comprising a connector cavity adapted to receive the first connector housing(ioo), a component position assurance device that locks the first connector housing to the second connector housing and a terminal carried in the terminal cavity in a fully assembled position, wherein the first connector housing, the terminal cavity and the second connector housing are aligned along the mating axis, wherein the electrical connector comprises a preassembled state, wherein the first connector housing and the second connector housing are separated and wherein the component position assurance device is assembled to and hold at the first connector housing in a pre-locked position, whereby the component position assurance device is prevented from been pulled off the first connector housing by fifth locking means, provided on the component position assurance device, cooperating with first locking means provided on the first connector housing and whereby the component position assurance device is prevented from being moved in the fully assembled position by second blocking means provided on the component position assurance device, cooperating with first blocking means provided on the first connector housing, whereby the second blocking means are released by first releasing means attached in the connector cavity, when the first connector housing is inserted into the second connector housing, allowing the component position assurance device to move to the fully assembled position, wherein the component position assurance device comprises a flat elongated body aligned along the mating axis, wherein the elongated body comprises a handle on one end and a main blocking bar on another end, wherein the elongated body comprises a flexible fifth locking arm aligned along the mating axis, wherein the flexible fifth locking arm comprises a fifth locking protrusion protruding perpendicular to the mating axis from a free end of the flexible fifth locking arm, wherein the fifth locking protrusion comprises a fifth locking stop edge facing to the handle and a fifth locking slope, wherein the elongated body comprises a flexible second blocking arm aligned along the mating axis, wherein the flexible second blocking arm comprises a second blocking protrusion protruding perpendicular to the mating axis from a free end of the flexible second blocking arm, wherein the second blocking protrusion comprises a second blocking stop edge facing to the main blocking bar and a second releasing slope starting from the second blocking stop edge sloped towards the handle, wherein the first releasing means of the second connector housing comprises a first releasing protrusion protruding perpendicular inwards the connector cavity. wherein the first releasing protrusion comprises a first releasing slope, arranged sloped to the mating axis, adapted to cooperate with the second releasing slope of the component position assurance device, to release the component position assurance device, when the first connector housing is inserted in the second connector housing, whereby the second blocking arm is flexed inwards the first connector housing, wherein the first connector housing comprises an elongated housing body surrounding the terminal cavity aligned along the mating axis, wherein the elongated housing body comprises a guiding cavity adapted to guide the component position assurance device along the mating axis, wherein the elongated housing body comprising a flexible first arm and a flexible second arm parallel to each other and aligned along the mating axis, wherein the main blocking bar is located in between the first flexible arm and the second flexible arm, preventing movement of the first flexible arm and the second flexible arm towards each other, when the connector housings (100, 200) are in the fully assembled state and the component position assurance device is in a locked position.