|Taiwan's President Chen Shui-bian casts his vote for the National Assembly elections|
With 98 percent of the ballots counted, the Central Election Commission said the DPP won 42.52 percent of votes, compared to 38.92 percent for the main opposition Nationalists.
The election was called to select a 300-member National Assembly to ratify constitutional amendments approved by parliament last year.
Among other things, the amendments will reduce the number of seats in the legislature by half, from 225 to 113 seats, change the electoral system and introduce referendums for approving future constitutional changes.
The election was seen as a test of support between the island's independence-minded leaders and the opposition, which supports closer relations with mainland China.
Some information for this report provided by AP and Reuters.