Type 1 and type 2 diabetes were identified as separate conditions for the first time by the Indian physicians Sushruta and Charaka in 400–500 CE with type 1 associated with youth and type 2 with being overweight.[108] The term "mellitus" or "from honey" was added by the Briton John Rolle in the late 1700s to separate the condition from diabetes insipidus, which is also associated with frequent urination.[108] Effective treatment was not developed until the early part of the 20th century, when Canadians Frederick Banting and Charles Herbert Best isolated and purified insulin in 1921 and 1922.[108] This was followed by the development of the long-acting insulin NPH in the 1940s.[108]

Nerve damage from diabetes is called diabetic neuropathy and is also caused by disease of small blood vessels. In essence, the blood flow to the nerves is limited, leaving the nerves without blood flow, and they get damaged or die as a result (a term known as ischemia). Symptoms of diabetic nerve damage include numbness, burning, and aching of the feet and lower extremities. When the nerve disease causes a complete loss of sensation in the feet, patients may not be aware of injuries to the feet, and fail to properly protect them. Shoes or other protection should be worn as much as possible. Seemingly minor skin injuries should be attended to promptly to avoid serious infections. Because of poor blood circulation, diabetic foot injuries may not heal. Sometimes, minor foot injuries can lead to serious infection, ulcers, and even gangrene, necessitating surgical amputation of toes, feet, and other infected parts.
In addition to the problems with an increase in insulin resistance, the release of insulin by the pancreas may also be defective and suboptimal. In fact, there is a known steady decline in beta cell production of insulin in type 2 diabetes that contributes to worsening glucose control. (This is a major factor for many patients with type 2 diabetes who ultimately require insulin therapy.) Finally, the liver in these patients continues to produce glucose through a process called gluconeogenesis despite elevated glucose levels. The control of gluconeogenesis becomes compromised.

The pain of diabetic nerve damage may respond to traditional treatments with certain medications such as gabapentin (Neurontin), phenytoin (Dilantin), and carbamazepine (Tegretol) that are traditionally used in the treatment of seizure disorders. Amitriptyline (Elavil, Endep) and desipramine (Norpraminine) are medications that are traditionally used for depression. While many of these medications are not indicated specifically for the treatment of diabetes related nerve pain, they are used by physicians commonly.
A 2018 study suggested that three types should be abandoned as too simplistic.[57] It classified diabetes into five subgroups, with what is typically described as type 1 and autoimmune late-onset diabetes categorized as one group, whereas type 2 encompasses four categories. This is hoped to improve diabetes treatment by tailoring it more specifically to the subgroups.[58]
Type 2 DM begins with insulin resistance, a condition in which cells fail to respond to insulin properly.[2] As the disease progresses, a lack of insulin may also develop.[12] This form was previously referred to as "non insulin-dependent diabetes mellitus" (NIDDM) or "adult-onset diabetes".[2] The most common cause is a combination of excessive body weight and insufficient exercise.[2]
Family or personal history. Your risk increases if you have prediabetes — a precursor to type 2 diabetes — or if a close family member, such as a parent or sibling, has type 2 diabetes. You're also at greater risk if you had gestational diabetes during a previous pregnancy, if you delivered a very large baby or if you had an unexplained stillbirth.