You will be given a definition of a task first, then some input of the task.
In this task, you're given a passage, further information available on a particular linked term from the statement, and an answer term. Your job is to generate a question that can use the information provided to obtain the given answer. You should use the information on both passage and link information to create the question. Note that the answer to the question should be exactly the given answer, and if the answer is none, the answer to the question shouldn't be obtainable from the passage or linked information.

Passage: Campeche (), officially the Free and Sovereign State of Campeche (), is one of the 31 states which, with Mexico City, comprise the 32 Federal Entities of Mexico. Located in southeast Mexico, it is bordered by the states of Tabasco to the southwest, Yucatán to the northeast, and Quintana Roo to the east; to the southeast by the Orange Walk district of Belize, and by the Petén department of Guatemala to the south. It has a coastline to the west with the Gulf of Mexico. The state capital, also called Campeche, was declared a World Heritage Site in 1997. The formation of the state began with the city, which was founded in 1540 as the Spanish began the conquest of the Yucatán Peninsula. During the colonial period, the city was a rich and important port, but declined after Mexico's independence. Campeche was part of the province of Yucatán but split off in the mid-19th century, mostly due to political friction with the city of Mérida. Much of the state's recent economic revival is due to the finding of petroleum offshore in the 1970s, which has made the coastal cities of Campeche and Ciudad del Carmen important economic centers. The state has important Mayan and colonial sites; however, these are not as well-known or visited as others in the Yucatán.
 Link Information: The city was founded in 1540 by Spanish conquistadores as San Francisco de Campeche  Answer: 1540
Output:
What date was the state capital formed in Campeche?