What event does Lincoln reference that was four score and seven years ago?

the singing of the declaration of independence. The Gettysburg address was in 1863 four score and seven years ago refers to 87 years which is 1776 the singing of the Declaration of Independence.