Monday, May 3, 1999 Published at 03:30 GMT 04:30 UK
Moscoso next President of Panama
Mireya Moscoso greeting her supporters after casting her vote
Mireya Moscoso, widow of a three-time Panamian President Arnulfo Arias, will be the next head of the country, after winning the presidential election.
Ms Moscoso, the opposition candidate, beat her rival, Martin Torrijos by a margin of 6.3%, according to Panama's Electoral Tribunal.
Mr Torrijos is the son of the military ruler who overthrew President Arias' government in 1968.
Polling ended at 1600 local time (2100 GMT) with no significant incidents reported.
Voter turnout was estimated at between 70% and 75% of the country's 1.7 m voters.
Ms Moscoso voted early in the morning surrounded by a crowd of opposition Arnulfista party members, who chanted their support outside a polling station in a run-down part of Panama City.
Mr Torrijos, of the ruling Democratic Revolutionary Party, attended an early morning mass with his wife before going to vote at the upper class Belisaria Boras school.
The two candidates appeared to be very close in opinion polls before the elections, while a third candidate, Alberto Vallarino, trailed there other two.
Correspondents say this a crucial election for Panama, coming as the US prepares to withdraw its military presence from the country and hand over administration of the 80 km canal linking the Atlantic and Pacific oceans.
The leading candidates both promised to battle poverty, improve education and provide more jobs; and they both claimed they would guarantee competent and uncorrupt running of the canal.
US military withdrawal also means thousands of Panamanian workers will lose jobs at US bases being vacated in December.
Outgoing President Perez Balladares tried to change the constitutional bar on presidents seeking a second consecutive term last August, but the proposal was overwhelmingly rejected in a popular referendum.
These are the second elections in Panama since US troops ousted military dictator General Manuel Noriega in 1989. Gen Noriega is now serving a 40-year prison sentence in the United States on drug charges.