CREATE TABLE table_28904 ("District" TEXT, "Incumbent" TEXT, "Party" TEXT, "First elected" TEXT, "Result" TEXT, "Candidates" TEXT)

what is the district when the party is federalist and first elected is 1814?
SELECT "District" FROM table_28904 WHERE "Party" = 'Federalist' AND "First elected" = '1814'
SELECT "District" FROM "table_28904" WHERE "First elected" = '1814' AND "Party" = 'Federalist'