Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_39 (elected INTEGER, party VARCHAR, district VARCHAR)
### Question:
Party of republican, and a District of 5th is what highest elected?
### Answer:
SELECT MAX(elected) FROM table_name_39 WHERE party = "republican" AND district = "5th"