A method of milking an animal involves admitting the animal into a milking
box and expelling the animal from the milking box, the milking box
comprising a connecting device, such as a robot arm, for automatically
connecting a teat cup to a teat of the animal. The step of expelling the
animal from the milking box is carried out using the robot arm. An
installation for milking an animal is also described, the installation
being provided with a milking box for the animal; a robot arm for
automatically connecting a teat cup to a teat of the animal; and a device
for expelling the animal from the milking box. The device for expelling
the animal from the milking box comprises part of the robot arm.