Named after the Scottish mathematician Matthew Stewart, who published the theorem in 1746.
Stewart's theorem