The agricultural machine has a driving frame (2) attached to a tractor, where the driving frame is supported on the ground over a chassis (4). A working unit (5) is supported at a supporting frame (7) that is lifted relative to the driving frame commonly with the working unit by a stroke pivoting device from a working position in a proceeding position as well as in a transport position. Multiple pistons are received in a cylinder of an adjusting cylinder unit and are displaceably mounted relative to a piston rod that is displaceably received in the cylinder.