Query: In which year was Hidalgo turned over?
Context: Hidalgo was turned over to the Bishop of Durango, Francisco Gabriel de Olivares, for an official defrocking and excommunication on July 27, 1811. He was then found guilty of treason by a military court and executed by firing squad on July 30 at 7 in the morning.