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 | David Trimble | Adams-Clay Republican | 1816 | Re-elected | David Trimble (A) |
| Kentucky 3 | Henry Clay | Adams-Clay Republican | 1810 1822 | Re-elected | Henry Clay (A) 100% |
| Kentucky 4 | Robert P. Letcher | Adams-Clay Republican | 1822 | Re-elected | Robert P. Letcher (A) 60.1% John Speed Smith 39.9% |
| Kentucky 6 | David White | Adams-Clay Republican | 1822 | Retired Jacksonian gain | Joseph Lecompte (J) John Logan |
| Kentucky 7 | Thomas P. Moore | Jacksonian Republican | 1822 | Re-elected | Thomas P. Moore (J) Samuel Woodson |
Question:
Who were the candidates for election that had a result of a retired jacksonian gain?
Answer:
Joseph Lecompte (J) John Logan