<p>The solenoid (1) has a partially opened housing in which bearing bushes (14), a pole core (12) and a coil are accommodated. The housing exhibits a base element (5) with free slittings (7), which are bent to a trough shape. The housing exhibits end parts (3), which extend from the base elements and are bend together in a parallel configuration. The end parts are connected with the adjacent slittings in the bent condition using a spring-groove system. The end parts exhibits fastening extensions (4b) that include flanges.</p>