Patanjali was the priest of Pushyamitra Shunga and officiated his Ashvamedha Yajnas.