In 1539 Cardan approached Tartaglia, who had achieved fame in winning a contest on solving cubics, and tried to get him to divulge the method. Tartaglia eventually agreed after getting Cardan to swear an oath that he would not publish the method until Tartaglia had himself published it.