The base wine is fortified by adding a grape spirit (usually brandy in the case of Madeira wine) which increases the alcohol ...
The acidity in this fortified wine counteracts the sweetness. One night, around ten years ago, I tasted a Madeira wine whose grapes were harvested before the Civil War. Lincoln was still president ...