Bryan Byrd Bellang and Benjamin Ngeteg tied for the last of eight council seats in Bontoc, a town some 280km (175 miles) north of Manila.

They agreed to the coin toss, set down in local election rules. Mr Bellang called heads and won the seat.

Crowds in the town hall clapped as the two men shook hands after the result.

"I asked them if they wanted to break the tie by tossing a coin or drawing lots, and somebody in the crowd wondered if I was cracking a joke," election supervisor Mary Umaming told the Associated Press news agency.

"I said those options were in the rules, and they agreed to flip a coin."

Provincial elections supervisor Dennis Dimalnat said that the two candidates had set a refreshing example.

"I hope others would see the beauty of this kind of peaceful resolution," he told AP.

Nationwide, Monday's local polls were marred by violence. In total, about 87,000 candidates were contesting nearly 18,000 positions.

Police said that dozens of people died over the three-month election period and at least three people were killed on polling day itself. Observers in some areas spoke of voter intimidation and electoral fraud.