Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| District | Incumbent | Party | First elected | Result | Candidates |
| --- | --- | --- | --- | --- | --- |
| New York 3 | Jonathan Ward | Democratic-Republican | 1814 | Retired Democratic-Republican hold | Caleb Tompkins (DR) 56.8% Abraham Odell (F) 42.8% |
| New York 6 | James W. Wilkin | Democratic-Republican | 1815 ( special ) | Re-elected | James W. Wilkin (DR) 55.4% James Burt (F) 44.6% |
| New York 7 | Samuel R. Betts | Democratic-Republican | 1814 | Retired Democratic-Republican hold | Josiah Hasbrouck (DR) 51.7% John Sudam (F) 48.2% |
| New York 10 | Hosea Moffitt | Federalist | 1812 | Retired Federalist hold | John P. Cushman (F) 54.9% Thomas Turner (DR) 44.9% |
| New York 11 | John W. Taylor | Democratic-Republican | 1812 | Re-elected | John W. Taylor (DR) 53.4% Elisha Powell (F) 46.6% |
| New York 13 | John B. Yates | Democratic-Republican | 1814 | Retired Democratic-Republican hold | Thomas Lawyer (DR) 54.9% William Beekman (F) 45.1% |
| New York 17 | Westel Willoughby, Jr. | Federalist | 1814 | Retired Democratic-Republican gain | Thomas H. Hubbard (DR) 51.5% Simeon Ford (F) 48.4% |
| New York 18 | Moss Kent | Federalist | 1812 | Retired Federalist hold | David A. Ogden (F) 50.4% Ela Collins (DR) 49.5% |
Question:
what is the district when the party is federalist and first elected is 1814?
Answer:
New York 17