An agricultural machine, in particular a haymaking machine, for example a rotary rake, the agricultural machine comprising: a central frame, at least one carrier arm which being connected to the central frame in such a way that the carrier arm can pivot about a horizontal arm axis in working position, a working unit being connected to the carrier arm in such a way that the working unit can be displaced, as seen in the longitudinal direction of the carrier arm, with respect to the carrier arm for adjusting the position of working unit relative to the central frame, a pressure relief device for applying an upward relief force to the carrier arm in the working position, said pressure relief device being coupled with one end to the central frame and the other to the carrier arm, characterized in that the pressure relief device is designed in such a way that in working position of the agricultural machine, the distance between the working unit and the arm axis is positively coupled with the relief force applied by the pressure relief device such that a larger distance induces a larger relief force.