Graham Platner, whose campaign was plagued by scandals, has won the Maine primary and will run as the state's Democratic candidate for the US Senate in the November midterms.