By Alexandra Valencia and Julia Symmes Cobb
QUITO (Reuters) -Ecuadoreans were voting on Sunday to choose a president and legislature they hope will lead the country out of a spiral of violence and economic troubles after a campaign darkened by bloodshed.
Candidates have pledged to fight sharp increases in crime, which the current government blames on drug gangs, and improve the struggling economy, whose woes have caused an uptick in unemployment and migration.
Security has taken center stage in the contest since the Aug. 9 murder of anti-corruption candidate Fernando Villavicencio, a former investigative journalist and lawmaker who was gunned down while leaving a campaign event earlier this month.
Other candidates have reported attacks against them, although in several cases police have said that the violence was not directed at the hopefuls themselves.
Voters at the polls in Quito and Guayaquil said security was their major focus.
"First is security, and then the economy and jobs. Without security there isn't investment, there aren't companies, there aren't jobs," said public employee Patricia Simbaña, who voted at an elementary school in the capital where Christian Zurita, Villavicencio's replacement, cast his ballot amid a scrum of journalists and heavily armed soldiers.
Simbaña said she was voting for pro-market candidate Otto Sonnenholzner, who has hardened his discourse since the murder, repeatedly promising that criminals who use violence will be shot by police under his government.
"It's time now to act with a firm hand," she said.
In coastal Guayaquil, where crime has spiked in recent years, hometown law-and-order candidate Jan Topic - who says he was a member of the French Foreign Legion and has pledged to solve security problems first - was attracting support.
"Without security we can't live, we can't do anything at all," said 24-year-old psychology student Maria Jose Cabrera, who also cited the need for jobs for young people and a fight against corruption.
REPORTED PROBLEMS
Luisa Gonzalez, a protegee of former President Rafael Correa, led polling before Villavicencio's killing with about 30% of voting intention.
She voted in Manabi province and predicted that the contest would not go to a second round.
A candidate needs 50% of the vote, or 40% if they are 10 points ahead of their nearest rival, to win in a first round. Otherwise, a second round is held, which would occur on Oct. 15.
Gonzalez has promised to free up $2.5 billion from international reserves to bolster Ecuador's economy as well as bring back social programs implemented by Correa - who has since been convicted of corruption - during his decade in power.
Her Citizens' Revolution party and Villavicencio's Construye party both said some Ecuadoreans voting from abroad were having trouble with the online system set up for them.
"The National Electoral Council recognizes the difficulties that have occurred with online voting, especially in Europe, Asia and Oceania," council president Diana Atamaint told journalists. "At this time the difficulties have been overcome."
Voting was proceeding peacefully, Atamaint added.
Over 30,000 of the 118,000 Ecuadoreans registered to vote from abroad via the online system had voted by 12:45 pm local time, the council said on X, the platform previously known as Twitter.
Zurita has promised to better equip the police and enshrine intelligence protocols to fight crime, using international loans to shore up social programs. Villavicencio's name and photo appear on ballots, which were printed before his murder.
Environmentalist Indigenous candidate Yaku Perez has said he would revise mining concessions that do not comply with environmental and social rules and ask creditors for breathing room, while Daniel Noboa, son of prominent banana businessman and former candidate Alvaro Noboa, has centered his campaign on job creation.
Also on Sunday's ballot are two environmental referendums - both expected to pass - that could block mining in a forest near Quito and development of an oil block in the Amazon.
The 13 million-strong electorate will also choose 137 members of the national assembly.
Voting is mandatory for those between 18 and 65 and authorities have said 100,000 police and military will guard polling places.
Six suspects, all Colombians police say belong to criminal gangs, were charged with Villavicencio's murder and are being held. Another suspect died from wounds sustained in a shootout with authorities.
(Reporting by Alexandra Valencia and Julia Symmes Cobb in Quito; Additional reporting by Yuyr Garcia in Guayaquil; Writing by Julia Symmes Cobb and Oliver Griffin; Editing by William Mallard and Mark Porter)