An agricultural machine for lateral displacement including has a fastening device configured to be fastened to a pulling vehicle, a frame, an implement to be fastened to the frame, a hingeable drawbar, and an actuator provided between the frame and the drawbar, in order to move The actuator moves the frame between at least a transport position behind the fastening device and an operative position laterally of the fastening device, wherein. A telescopic drive shaft is situated between the fastening device and the implement, wherein a first shaft end of the shaft is connected to the fastening device and a second shaft end of the shaft is connected to the implement. The agricultural machine further has a steering device which is configured to direct the first shaft part of the telescopic drive shaft substantially to the second shaft end of the telescopic drive shaft.