Task: Text Categorization
Input (English): Lambert Simnel claimed to be the Earl of Warwick thus threatening this man's newly established reign. This ruler led twenty-five thousand troops at the Battle of Deptford to put down the Cornish Rebellion. This ruler killed John de la Pole, the first Earl of Lincoln, at the Battle of Stoke Field. Francis Lovell, the first Viscount Lovell, in tandem with Humphrey and Thomas Stafford led rebellions against this ruler. In order to form an alliance with Maximilian I, this ruler ratified the Treaty of Medina del Campo which married his oldest son to a Spanish princess. For 10 points, name this king of England who defeated Richard III at the Battle of Bosworth Field thus ending the Lancaster versus York conflict known as the War of the Roses and then subsequently starting the Tudor dynasty.
Output (English): History