This name was applied in Scotland, A. D. 1648, to those violent Covenanters who opposed the Duke of Hamilton’s invasion of England in order to restore Charles I. The appellation of “Whig” and “Tory” to political factions was first heard of in A. D. 1679, and, though as senseless as any cant terms that could be devised, they became instantly as familiar in use as they have since continued. 2 Hall. Const Hist c 12; Wharton.
WHIG
TheLaw.com Law Dictionary & Black's Law Dictionary 2nd Ed.