Costa Advances to General Election