The early history of American football can be traced to early versions of rugby football and association football. Both games have their origin in varieties of football played in Britain in the mid–19th century, in which a football is kicked at a goal or run over a line, which in turn were based on the varieties of English public school football games.