Although it is unclear who betrayed Miguel Hidalgo, it is believed to have been an unnamed individual who was close to him. This person is said to have informed the Spanish authorities of Hidalgo's plans to revolt, which led to his arrest and execution.
Unleashing the Spirit of Rebellion: The Life and Legacy of Miguel Hidalgo y Costilla