An electrical connector (100, 300) comprising: a housing (101, 301) suitable for receiving at least one electrical contact, the housing (101, 301) comprising a locking means (104, 304) suitable for locking the housing (101, 301) to mating electrical connector housing; and a connector position assurance device (105, 305), i.e. a CPA device, movable in relation to the housing (101, 301) from a delivery position to a locking position wherein the CPA device (105, 305) is configured to prevent unlocking of the locking means (104, 304) when the housing (101, 301) is connected to the mating electrical connector housing; wherein the CPA device (105, 305) comprises a pivoting portion, provided at a first end of the CPA device (105, 305) and configured to be fitted in a pivotable manner on an element forming a pivoting axis (111, 112; 311) of the locking means (104, 304) of the housing (101, 301), so that movement of the CPA device (105, 305) from the delivery position to the locking position is carried out by pivoting the CPA device (105, 305); and wherein the CPA device (105, 305) further comprises a locking portion configured to prevent unlocking of the locking means (104, 304) of the housing (101, 301) in the locking position when the housing (101, 301) is connected to the housing of a mating electrical connector; characterised in that the locking portion comprises at least a first locking means (113, 114; 313, 314) fitted on a distal portion of the CPA device (105, 305) in relation to the pivoting portion and configured to block movement of the locking means (104, 304) of the housing (101, 301) in the locking position when the housing (101, 301) is connected to the mating electrical connector housing. a housing (101, 301) suitable for receiving at least one electrical contact, the housing (101, 301) comprising a locking means (104, 304) suitable for locking the housing (101, 301) to mating electrical connector housing; and a connector position assurance device (105, 305), i.e. a CPA device, movable in relation to the housing (101, 301) from a delivery position to a locking position wherein the CPA device (105, 305) is configured to prevent unlocking of the locking means (104, 304) when the housing (101, 301) is connected to the mating electrical connector housing; wherein the CPA device (105, 305) comprises a pivoting portion, provided at a first end of the CPA device (105, 305) and configured to be fitted in a pivotable manner on an element forming a pivoting axis (111, 112; 311) of the locking means (104, 304) of the housing (101, 301), so that movement of the CPA device (105, 305) from the delivery position to the locking position is carried out by pivoting the CPA device (105, 305); and wherein the CPA device (105, 305) further comprises a locking portion configured to prevent unlocking of the locking means (104, 304) of the housing (101, 301) in the locking position when the housing (101, 301) is connected to the housing of a mating electrical connector; characterised in that the locking portion comprises at least a first locking means (113, 114; 313, 314) fitted on a distal portion of the CPA device (105, 305) in relation to the pivoting portion and configured to block movement of the locking means (104, 304) of the housing (101, 301) in the locking position when the housing (101, 301) is connected to the mating electrical connector housing.