Ramón Fernando Patiño Castro Osorio y Mariño (1763–1827) was a Spanish military commander.
[1] At the outbreak of the war, Castelar was appointed member of the Military Junta and, the following October, captain general of New Castile.
At Madrid, he joined General Morla, who had been sent to Madrid as director-general of Artillery and who had started preparing the fortifications of the city, including the mountain passes on its approaches.
However, with Napoleon rapidly approaching with a large force, Castelar abandoned the city, taking some five thousand troops and sixteen cannon with him to join General Heredia[2] and retreat to Talavera de la Reina.
[2] Morla, following orders from the Junta of Defence, was left to capitulate to Napoleon on 4 December 1808.