Hidalgo and what was left of his army were caught in the state of Coahuila at the Wells of BajÃ n. He had a trial done by the Inquisition on 30 July 1811 . Hidalgo and his remaining soldiers were captured in the state of Coahuila at the Wells of BajÃ n ( Norias de BajÃ n ) . He faced court trial of the Inquisition on 30 July 1811 .