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 |
| --- | --- | --- | --- | --- | --- |
| North Carolina 2 | Willis Alston | Democratic-Republican | 1798 | Re-elected | Willis Alston (DR) 56.0% Daniel Mason (F) 44.0% |
| North Carolina 5 | William R. King | Democratic-Republican | 1810 | Re-elected | William R. King (DR) 100% |
| North Carolina 6 | Nathaniel Macon | Democratic-Republican | 1791 | Re-elected | Nathaniel Macon (DR) |
| North Carolina 9 | None (District created) | None (District created) | None (District created) | New seat Democratic-Republican gain | Bartlett Yancey (DR) 61.1% James Martin (F) 38.9% |
| North Carolina 10 | Joseph Pearson | Federalist | 1808 | Re-elected | Joseph Pearson (F) 54.1% Alexander Gary (DR) 45.9% |
Question:
What party did the incumbent Joseph Pearson belong to?
Answer:
Federalist