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 |
| --- | --- | --- | --- | --- | --- |
| Kentucky 1 | James Clark | Democratic-Republican | 1812 | Re-elected | James Clark (DR) 100% |
| Kentucky 2 | Joseph H. Hawkins | Democratic-Republican | 1814 ( special ) | Retired Democratic-Republican hold | Henry Clay (DR) |
| Kentucky 3 | Richard M. Johnson | Democratic-Republican | 1806 | Re-elected | Richard M. Johnson (DR) 100% |
| Kentucky 4 | Joseph Desha | Democratic-Republican | 1806 | Re-elected | Joseph Desha (DR) 100% |
| Kentucky 6 | Solomon P. Sharp | Democratic-Republican | 1812 | Re-elected | Solomon P. Sharp (DR) 100% |
| Kentucky 7 | Samuel McKee | Democratic-Republican | 1808 | Re-elected | Samuel McKee (DR) 61.3% Samuel South 38.7% |
| Kentucky 8 | Stephen Ormsby | Democratic-Republican | 1810 | Re-elected | Stephen Ormsby (DR) James Moore |
| Kentucky 9 | Thomas Montgomery | Democratic-Republican | 1812 | Lost re-election Democratic-Republican hold | Micah Taul (DR) Thomas Montgomery (DR) |
Question:
Who is first elected when Kentucky 6 is the district?
Answer:
1812.0