Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1974?

### Inputs:
table_name: table, columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result', 'Candidates']

### Response:
SELECT District FROM table WHERE Party = Democratic AND First elected = 1974 AND Incumbent = Stephen J. Solarz