Who invented the first suit?

At the beginning of the 19th century, men's style in England was basically a costumey nightmare: Well-heeled gents wore coats with tails, silk stockings, knee breeches (?!), and worst of all, powdered wigs. But then Beau Brummell came along and basically invented the suit we're all still wearing today.