 In 1767, he married his cousin Vittoria Conti.Lagrange was a favourite of the king, who frequently lectured him on the advantages of perfect regularity of life.The lesson was accepted, and Lagrange studied his mind and body as though they were machines, and experimented to find the exact amount of work which he could do before exhaustion.