A milking arrangement comprising at least one milking module comprising - at least two milking places arranged side by side after each other along a longitudinal axis (x), each milking place being configured to receive a respective animal to be milked, - a primary end and a secondary end (1") opposite to the primary end, wherein the milking arrangement extends along the longitudinal axis (x) from the primary end to the secondary end, - a front side and a rear side, which both extend in parallel with the longitudinal axis (x), - a front gate assembly movable between a lower position in which it closes the front side to prevent the animals from leaving the respective milking place through the front side, and an upper position, configured to permit the animals to leave the respective milking place through the front side, - a sequence gate assembly comprising at least two sequence gates provided between said front side and said rear side, wherein each of said sequence gates, in a first positon of the sequence gate assembly, is pivotable between a closed position, in which the sequence gate defines a barrier against entrance into a milking place, and an open position in which it forms a side wall of the milking place, - an entrance gate provided in the primary end of the of the milking module, said entrance gate being movable between a closed position in which it prevents animals from entering said at least one milking module and an open position in which it allows animals to enter the milking module through the primary end, - wherein the milking arrangement comprises an independent first drive device for moving the front gate assembly between its lower and upper positions and a second drive device for moving the entrance gate between its open and closed positions, said milking arrangement being characterized in that it comprises an independent third drive device for moving the sequence gate assembly from said first position to a second position, which is an elevated position in which the sequence gates are located at a level above and behind animals standing in the respective milking places, and that the sequence gate assembly is configured to move from said second position to the first position with its sequence gates in their closed position such that the sequence gates urge animals standing in their respective milking places to move towards the front side and to leave the milking places through the front side, - and that the milking arrangement comprises a control arrangement which is configured to control the opening of the entrance gate on basis of the position of the sequence gate assembly. - at least two milking places arranged side by side after each other along a longitudinal axis (x), each milking place being configured to receive a respective animal to be milked, - a primary end and a secondary end (1") opposite to the primary end, wherein the milking arrangement extends along the longitudinal axis (x) from the primary end to the secondary end, - a front side and a rear side, which both extend in parallel with the longitudinal axis (x), - a front gate assembly movable between a lower position in which it closes the front side to prevent the animals from leaving the respective milking place through the front side, and an upper position, configured to permit the animals to leave the respective milking place through the front side, - a sequence gate assembly comprising at least two sequence gates provided between said front side and said rear side, wherein each of said sequence gates, in a first positon of the sequence gate assembly, is pivotable between a closed position, in which the sequence gate defines a barrier against entrance into a milking place, and an open position in which it forms a side wall of the milking place, - an entrance gate provided in the primary end of the of the milking module, said entrance gate being movable between a closed position in which it prevents animals from entering said at least one milking module and an open position in which it allows animals to enter the milking module through the primary end, - wherein the milking arrangement comprises an independent first drive device for moving the front gate assembly between its lower and upper positions and a second drive device for moving the entrance gate between its open and closed positions, said milking arrangement being characterized in that it comprises an independent third drive device for moving the sequence gate assembly from said first position to a second position, which is an elevated position in which the sequence gates are located at a level above and behind animals standing in the respective milking places, and that the sequence gate assembly is configured to move from said second position to the first position with its sequence gates in their closed position such that the sequence gates urge animals standing in their respective milking places to move towards the front side and to leave the milking places through the front side, - and that the milking arrangement comprises a control arrangement which is configured to control the opening of the entrance gate on basis of the position of the sequence gate assembly.