CREATE TABLE table_28933 ("District" CLOB, "Incumbent" CLOB, "Party" CLOB, "First elected" CLOB, "Result" CLOB, "Candidates" CLOB)

What party did the incumbent from the Virginia 5 district who was re-elected and was first elected in 1797 belong to?
SELECT "Party" FROM table_28933 WHERE "Result" = 'Re-elected' AND "First elected" = '1797' AND "District" = 'Virginia 5'
SELECT "Party" FROM "table_28933" WHERE "District" = 'Virginia 5' AND "First elected" = '1797' AND "Result" = 'Re-elected'