Muhammad Ali accepted the conditions of the London convention in 1840.