M4 was discovered in 1746 and contains more than 100,000 stars – about 40,000 are white dwarfs.