The first time soccer was ever played was in China during the 2nd and 3rd centuries. During the Han dynasty people used to kick leather balls into small nets. TItalians, Austrians and Germans drew to Europe, while Argentina, Uruguay and Brazil adopted the sport in South America. FIFA was established in the year 1904 and by early 1930s, different leagues were operating from various countries. 

These are the original rules at Cambridge

1. This Club shall be called the University Foot Ball Club.

2. At the commencement of play, the ball shall be kicked off from the middle of the ground; after every goal there shall be a kick-off in the same way or manner.

3. After a goal, the losing side shall kick off; the sides changing goals unless a previous arrangement be made to the contrary.

4. The ball is out when it has passed the line of the flag-post on either side of the ground, in which case it shall be thrown in straight.

5. The ball is "behind" when it has passed the goal on either side of it.

6. When the ball is behind, it shall be brought forward at the place where it left the ground not more than ten paces, and kicked off.

7.· Goal is when the ball is kicked through the flag-posts and under the string.

8. When a player catches the ball directly from the foot, he may kick it as he can without running with it. In no other case may the ball be touched with the hands, except to stop it.

9. If the ball has passed a player and has come from the direction of his own goal, he may not touch it till the other side have kicked it, unless there are more than three of the other side before him. No player is allowed to loiter between the ball and the adversaries' goal.

10. In no case is holding a player, pushing with the hands or tripping up allowed. Any player may prevent another from getting to the ball by any means consistent with this rule.

11. Every match shall be decided by a majority of goals.