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, said lid holder in said attachment position of said lid positioner being adapted to hold said lid in a predefinable position in relation to said base portion by said lid holder 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 mover being adapted to move said combined unit in said travel direction from said rear portion towards said front portion of said lid holder, 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, characterized in that said rotation axis is located at or adjacent to said rear portion of said lid holder, said lid thereby being pivoted at a pivot axis located at or adjacent to a rear portion of said lid itself. - 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, said lid holder in said attachment position of said lid positioner being adapted to hold said lid in a predefinable position in relation to said base portion by said lid holder 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 mover being adapted to move said combined unit in said travel direction from said rear portion towards said front portion of said lid holder, 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, characterized in that said rotation axis is located at or adjacent to said rear portion of said lid holder, said lid thereby being pivoted at a pivot axis located at or adjacent to a rear portion of said lid itself.