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 |
| --- | --- | --- | --- | --- |
| South Carolina 1 | Samuel Dibble | Democratic | 1882.0 | Retired Democratic hold |
| South Carolina 2 | George D. Tillman | Democratic | 1878.0 | Re-elected |
| South Carolina 3 | James S. Cothran | Democratic | 1886.0 | Retired Democratic hold |
| South Carolina 4 | William H. Perry | Democratic | 1884.0 | Retired Democratic hold |
| South Carolina 5 | John J. Hemphill | Democratic | 1882.0 | Re-elected |
| South Carolina 6 | George W. Dargan | Democratic | 1882.0 | Retired Democratic hold |
| South Carolina 7 | Thomas E. Miller | Republican | 1888.0 | Lost re-election Democratic gain |
Question:
Which district had a first elected in 1882 with a result of re-elected?
Answer:
South Carolina 5