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_34 (left_office VARCHAR, entered_office VARCHAR)
### Question:
When did the king who entered office in 1012 leave office?
### Answer:
SELECT left_office FROM table_name_34 WHERE entered_office = "1012"