Leeds Crown Court was told 65-year-old Neil Taggart also shared images of children being abused using file sharing websites.
The court heard Taggart’s personal reputation as a long-standing public servant has been “utterly destroyed.”
Taggart, who served as a Leeds City councillor for 33 years, was Lord Mayor of Leeds in 2003 and served as chairman of West Yorkshire Police Authority in the early 2000s.
Police armed with a search warrant raided his home in Marlowe Crescent, Garforth, in September last year while he was on holiday abroad with his family.
Leeds thunderstorms warning as Met Office shares latest weather forecast
Bloody machete attack on busy Leeds street left man scarred for life
York Road incident: Police appeal after pedestrian killed in crash outside Leeds Dogs Trust
Leeds Bradford Airport: Full statement on August security staff strike
Jesus Moreno: Friends looking for missing Piglove Brewing Co founder issue map of key search routes
Computer equipment was seized including a desktop computer, hard drives and USB memory sticks.
Police discovered a total of 36,003 indecent images and videos of children including 5,488 at category A - the most serious level.
The court hard that some images featured both pubescent and pre-pubescent children being sexually abused by adults - including children under five being abused.
Police also found 30 extreme pornographic images depicting sexual activity between human adults and animals.
Taggart admitted three charges of making indecent images of children, three charges of distributing indecent photographs of children, one charge of possessing prohibited images of children and one charge of possession of extreme pornographic images.
The offences were committed between 2010 and 2016.
Mitigating, Stephen Wood said: “The defendant’s health is not good. He has been diagnosed with a rare form of cancer.”
Mr Wood added: “This is a person who has given over 30 years of public service...These convictions utterly destroy the personal reputation that he had built up over those 30 plus years of service.”
Jailing Taggart for 32 months, judge Robin Mairs, said police had found a “library” of indecent images of children on Taggart’s computer equipment.
Judge Mairs told Taggart: “I accept that both your personal and public reputation, that at one time stood high in the city, now effectively lies in the gutter.”
Taggart, who served as a Leeds city councillor for 33 years, will be on the sex offender register for life.
After the sentencing hearing, Leeds City Council leader Coun Judith Blake, said: “I condemn these despicable crimes in the strongest possible terms.”
Mark Peel, independent chair of Leeds Safeguarding Children Board said:“Regardless of any pervious or current official role a person may have, any form of child abuse is abhorrent and those who carry it out need to be brought to justice.”
Detective Superintendent Pat Twiggs, who led the West Yorkshire Police investigation, said: “Offenders like Taggart, who seek out and distribute abusive images of children for the sexual gratification of themselves and others, play a significant role in the continuation of the appalling real-life abuse that these images capture.
“The crimes he pleaded guilty to represent a high volume of images - many of the most serious kind - and cover a significant period of time.
“As someone who held a number of high-profile public positions during some of that time, he would have been well aware of how wrong his offending behaviour was and how it was completely against the standards of integrity and decency that the public would have rightly expected of him.
“We hope that seeing him brought to justice will reassure the public that we treat all offences of this nature seriously and will continue to do everything we can to safeguard children.”