All Boston terriers descend from a bulky British dog named Judge, a cross between a bulldog and a white English terrier (which has since gone extinct).
In the late 1860s, Judge was sold to an American and moved to Boston. In 1870, the dog was sold again to Robert C Hooper who bred him to a small white female named Gyp.
Over time, the breed became smaller, sweeter and more attractive.