Daniel O'Mahony, count of Castile — Irish Jacobite army officer in French and Castilian service