How were Pugs invented?

I really enjoy Pugs but the 1 thing I don't know about Pugs is what they bred or made a pug? Maybe a pig and something? Please Answer!
7 answers 7