This is probably an old introduction to Ireland and was once a frequent arable weed. It is now rare, having declined like most other arable weeds. The majority of records of this plant date from before the Second World War.
The common name, Shepherd's needle, refers to the very long needle-like fruits.
All names: Scandix pecten-veneris L.