An apparatus for attaching a lid to a base portion, said lid and said base portion forming parts of a container, such as a user container for a pouched product for oral use, said apparatus comprising - a support, - a base portion feeder, adapted to place said base portion on said support, - a lid positioner comprising a lid holder, - a mover, adapted to move said base portion and said lid as a combined unit in a travel direction, said lid positioner being movable between a lid pick-up position and a lid attachment position, said lid holder in said lid pick-up position of said lid positioner being adapted to pick up said lid, said lid holder having a front portion and a rear portion as seen in said travel direction when said lid positioner is in said attachment position, wherein said lid positioner comprises a rotation axis, such that said lid positioner is movable from said lid pick-up position to said lid attachment position by means of a rotation around said rotation axis, wherein said mover is adapted to move said combined unit in said travel direction from said rear portion towards said front portion of said lid holder, characterized in that said rotation axis is located at or adjacent to said rear portion of said lid holder, and wherein said lid positioner is adapted to be rotated back towards said lid pick-up position when said combined unit has left said lid holder, wherein said lid holder in said attachment position of said lid positioner is adapted to hold said lid in a predefinable position in relation to said base portion assuming an angle (α) in relation to said support, with said front portion of said lid holder being located closer to said support than said rear portion of said lid holder. - a support, - a base portion feeder, adapted to place said base portion on said support, - a lid positioner comprising a lid holder, - a mover, adapted to move said base portion and said lid as a combined unit in a travel direction, said lid positioner being movable between a lid pick-up position and a lid attachment position, said lid holder in said lid pick-up position of said lid positioner being adapted to pick up said lid, said lid holder having a front portion and a rear portion as seen in said travel direction when said lid positioner is in said attachment position, wherein said lid positioner comprises a rotation axis, such that said lid positioner is movable from said lid pick-up position to said lid attachment position by means of a rotation around said rotation axis, wherein said mover is adapted to move said combined unit in said travel direction from said rear portion towards said front portion of said lid holder, characterized in that said rotation axis is located at or adjacent to said rear portion of said lid holder, and wherein said lid positioner is adapted to be rotated back towards said lid pick-up position when said combined unit has left said lid holder, wherein said lid holder in said attachment position of said lid positioner is adapted to hold said lid in a predefinable position in relation to said base portion assuming an angle (α) in relation to said support, with said front portion of said lid holder being located closer to said support than said rear portion of said lid holder. said lid positioner being movable between a lid pick-up position and a lid attachment position, said lid holder in said lid pick-up position of said lid positioner being adapted to pick up said lid, said lid holder having a front portion and a rear portion as seen in said travel direction when said lid positioner is in said attachment position, wherein said lid positioner comprises a rotation axis, such that said lid positioner is movable from said lid pick-up position to said lid attachment position by means of a rotation around said rotation axis, wherein said mover is adapted to move said combined unit in said travel direction from said rear portion towards said front portion of said lid holder, characterized in that said rotation axis is located at or adjacent to said rear portion of said lid holder, and wherein said lid positioner is adapted to be rotated back towards said lid pick-up position when said combined unit has left said lid holder, wherein said lid holder in said attachment position of said lid positioner is adapted to hold said lid in a predefinable position in relation to said base portion assuming an angle (α) in relation to said support, with said front portion of said lid holder being located closer to said support than said rear portion of said lid holder.