The War of the Roses ended when Elizabeth of York was married to Henry Tudor of the Lancastrians, therefore uniting the two warring Plantagenet houses of York and Lancaster.
At the battle of Bosworth Henry fought and beat Richard III a Yorkist, defeating him and claimed the throne.
Henry was of the Welsh Tudors, who claimed ancestry back to Rhys ap Tewdwr, who was the last King of the Britons, who claimed the ancestry from the otherwise-extinct Lancastrians, giving him a valid claim to the English throne.
When he married Elizabeth and defeated Richard III, he joined the two houses and created the Tudor dynasty to replace them, ending the long War of the Roses.
Henry and Elizabeth had three children, including Henry VIII.
Rhys ap Tewdwr (before 1065 – 1093) was a king of Deheubarth in Wales and member of the Dinefwr dynasty, a branch descended from Rhodri the Great.