The present document shows an agricultural implement (1 ) comprising: a first frame section (12a, 12b), a second frame section (13a, 13b), which is rotatably connected to the first frame section (12a, 12b), a first link device (19), which is movable relative to the first frame section, a second link device (20), which is connected to the first link device and also to the second frame section (13a, 13b), and an actuator (18), which is arranged to produce a relative movement between the first frame section (12a, 12b) and the first link device (19). The second link device (20) has first and second portions (203, 204) which are movable relative to each other, so that a distance between the first and second portions (203, 204) is variable. The document also shows a method of retracting or extending an agricultural implement.