Needling machine for needling a nonwoven web, having: a needle beam assembly which comprises at least one needle beam ; a first main shaft , on which a first main connecting rod which connects the first main shaft to the needle beam assembly in an articulated manner is mounted eccentrically, wherein the first main shaft has a first shaft section on the drive side and a second shaft section on the connecting rod side which is separate from the first shaft section , wherein the first and the second shaft section are arranged coaxially and rotatably relative to each other; and a second main shaft , on which a second main connecting rod which connects the second main shaft to the needle beam assembly in an articulated manner is mounted eccentrically; a drive for driving one of the first and second main shafts in rotation; and an adjusting device for adjusting the angular position of the first and the second main shaft relative to each other, wherein the adjusting device connects the first and the second shaft section of the first main shaft to each other and is configured to transmit a rotational movement from the first to the second shaft section , and which can be actuated in order to effect a relative rotation between the first and the second shaft section ; characterized in that the adjusting device is at least partly axially displaceable relative to the first and/or to the second shaft section ; and the adjusting device is designed in such a way that a translational adjusting movement of components of the adjusting device effects the relative rotation between the first and the second shaft section . a needle beam assembly which comprises at least one needle beam ; a first main shaft , on which a first main connecting rod which connects the first main shaft to the needle beam assembly in an articulated manner is mounted eccentrically, wherein the first main shaft has a first shaft section on the drive side and a second shaft section on the connecting rod side which is separate from the first shaft section , wherein the first and the second shaft section are arranged coaxially and rotatably relative to each other; and a second main shaft , on which a second main connecting rod which connects the second main shaft to the needle beam assembly in an articulated manner is mounted eccentrically; a drive for driving one of the first and second main shafts in rotation; and an adjusting device for adjusting the angular position of the first and the second main shaft relative to each other, wherein the adjusting device connects the first and the second shaft section of the first main shaft to each other and is configured to transmit a rotational movement from the first to the second shaft section , and which can be actuated in order to effect a relative rotation between the first and the second shaft section ; characterized in that the adjusting device is at least partly axially displaceable relative to the first and/or to the second shaft section ; and the adjusting device is designed in such a way that a translational adjusting movement of components of the adjusting device effects the relative rotation between the first and the second shaft section . <EOS>