Bournemouth let a two-goal lead slip before Callum Wilson hit a stoppage-time winner to defeat Blackburn in the Carabao Cup third round.
Junior Stanislas volleyed the opener and Jordon Ibe made it 2-0 from the spot after Darragh Lenihan's foul.
Craig Conway pulled one back and after Tyrone Mings brought down Ben Brereton, Adam Armstrong's penalty equalised.
But Rovers' Derrick Williams saw red for deliberate handball before Wilson headed in a corner right at the death.