What is a “legacy application”?

Four criteria that can be used to classify something to be "legacy"