So in 1578 Sebastian of Portugal with an army of mercenaries invaded Morocco to support his prefered candidate for the morrocan throne over the ottoman supported candidate.
Sebastian overruled his advisors to stick to the coast and marched into the interior where his morrocan ally managed to gather 6,000 loyalists which joined the portuguese forces. However the enemy had managed to gather pretty much all of morocco to his side, with an army of over 60,000 which vastly outnumbered the europeans and so the portuguese forces were crushed with barely 100 escaping out of nearly 25,000 men, sebastian was killed, the portuguese royal family was wiped out and as a result a few years later portugal became ruled by philip of spain and stopped existing as an independant state.
At least one timeline on this forum has gone with sebastian being less reckless and avoiding battle with the morrocans thus preserving his dynasty but could he have actually won or once he decided on full out invasion was he doomed to failiure?