A decision was made not to destroy the rottweiler after an incident involving children and Gardai.
A dog deemed to be dangerous by a Tullamore District Court judge has been released after being detained for more than three weeks.
18 month old rottweiler 'Max' was being held since October, after incidents involving children and a Garda sergeant.
Returning 'Max' to his owner, Judge Catherine Staines said she was doing so on condition he undergo training for a year.
A previous court sitting had been told a determination would have to be made as to whether or not the dog would be destroyed.
Judge Staines said on Monday there had been evidence he had jumped up on a girl's shoulders and nipped her on the tracksuit, tearing it.
There was also evidence from Sargent Tony Quinn that the dog had lunged at him and nipped him on the ankle.
The dog's owner - Jennifer Murphy of Main Street, Daingean - said he was a happy-go-lucky but hyper dog who was still a pup and didn't know his size.
Judge Staines ordered that the dog be leashed and muzzled when out in public, in line with the regulations for his breed.
She said the Gardai could re-enter the matter in court if the dog was found on the street without a leash.
Midlands Gardaí Appeal For Witnesses To Fatal Crash
Midlands Security & Defence Analyst Says Hoax Bomb Threats Aimed To Intimidate
Almost €446,000 Allocated To Midlands Community Centres And Clubhouses
Midlands Family Takes On Ireland’s Fittest Family Challenge
5K Fundraiser To Support Motor Neurone Disease Association Takes Place In Westmeath
No Slowing Down With Age As Westmeath Bowlers Shine At 14th Annual National Bowls Competition
Woman Appears In Court Over €280k Cannabis Seizure In Midlands