How to say he tried to put an end to their quarrel. in French

1)il essaya de mettre fin à leur dispute.    
Connect Error: Too many connections