Thailand's opposition wins most seats, but won't get to choose country's leader

Soldiers flock to polling precincts to cast their vote on March 24 in Bangkok.

Bangkok (CNN)Thailand's main opposition party has won more seats than anyone else in the country's parliament -- in the first election since a military coup five years ago -- but it won't get to choose the country's next leader.

Pheu Thai took 136 seats, according to official figures released Wednesday, while the pro-military Palang Pracharat party took 115. Pheu Thai is aligned with former Prime Minister Thaksin Shinawatra, whose allies were ousted in the 2014 coup.