Charges have been dropped against a 41-year-old Nigerian man who named his dog after President Muhammadu Buhari.
Joachim Iroko, a market trader also known as Joe Fortemose Chinakwe, was arrested in 2016 accused of conduct likely to cause a breach of the peace.
A judge in south-west Ogun state found the prosecution had failed to substantiate the charges against him.
The arrest sparked nationwide outrage. Critics accused the police of stifling constitutionally guaranteed freedoms.
At the time, presidential spokesman Garba Shehu said that Mr Buhari must be having a good laugh about the story and that anyone linking him to the dog incident was displaying their ignorance.
Speaking to Nigeria's daily Vanguard newspaper after the ruling, Mr Iroko said he had been vindicated and thanked all those who had spoken out on his behalf.
Mr Iroko's lawyer said the prosecution had repeatedly failed to present witnesses and that the complainant was also absent.
The man who lodged the complaint in August 2016 was reported to be a neighbour.
'My hero'
Mr Iroko walked his pet - with the name Buhari painted on both flanks - in an area where support for the president was high, police said at the time.
Officers said they were worried the move could antagonise people, though he insisted it was meant as a compliment and that people had misunderstood him. Mr Iroko said he named his dogs after his role models, and that others had been called Nelson Mandela and Obama.
"I named my beloved pet dog Buhari, who is my hero....My admiration for Buhari started far back when he was a military head of state."
He later told local media he had received death threats over the perceived slight.
Latest Stories
-
Sacking Otto Addo is the only response to poor Black Stars performances – Osei Palmer
12 minutes -
Investigators scale barricades to arrest S Korea’s impeached president
47 minutes -
Reece James late free kick cancels out Semenyo stunner
1 hour -
IPPG calls on Mahama to retain and reset the Emissions Levy
2 hours -
Resetting the Ghanaian Economy: What to focus on
2 hours -
Mahama’s visit to Bawku is critical for lasting peace – National Peace Council
3 hours -
Scores injured in Walewale as soldiers are accused of brutal assault
4 hours -
Mahama meets Mamprugu king over Bawku chieftaincy stalemate
4 hours -
Mahama calls for robust investment to uplift vulnerable populations
4 hours -
Social media hate speeches harming peace efforts in Bawku – Peace Council
5 hours -
Policy Expectations of the New Government: A robust asset and liability declaration framework
5 hours -
Engender trust to resolve Bawku crisis – Former Defence Minister Dominic Nitiwul advises
5 hours -
Guardiola divorces wife of 30 years
5 hours -
Up to 4 in 10 people could develop dementia after 55. What you can do to lower your risk
5 hours -
Mohbad’s widow, father face-off over DNA test
6 hours