It inhibited the aggregation of islet amyloid polypeptide (IAPP), which is recognised to play a major role in the death of pancreatic β-islet cells in type II diabetes. Here, IAPP is linked to type 2 diabetes mellitus.