The 15-centimetre-tall bird was discovered at the Flöha train station by a customer who wanted to buy a ticket Saturday afternoon.
Police couldn’t free the parrot-like bird and decided to call the mayor for help. He remembered a local firefighter is a member of a bird breeders’ association. The firefighter managed to wriggle the bird out of the machine, but not before it attacked him.
“The bird bit him several times on his fingers,” said Mayor Friedrich Schlosser.
Although the cockatiel apparently drank some beer and was a bit tipsy, he is now jumping about happily again, according to his rescuer.
It isn’t clear who might have stuffed the bird into the machine or why. But officials said they were investigating the case as animal abuse.