When did clerical celibacy start being enforced in medieval Europe?

by Elphinstone1842

I've heard that clerical celibacy wasn't taken seriously in medieval Europe and it was common for priests and bishops and whatnot to openly keep concubines, even the pope. Is this true and when did that change?

Georgy_K_Zhukov

Poking around the "archives" I think this old answer from /u/butter_milk might be relevant for you.