When was the novel written, and which country did Transylvania belong to at that time?

A) 19th century, Hungary
B) 18th century, Romania
C) 17th century, Austria
D) 16th century, Ottoman Empire