Sir Isaac Newton discovered the law of gravitation in the 17th century, explaining how objects attract each other with a force proportional to their masses.