The two men are running to succeed Miguel Angel Rodriguez , who abruptly resigned in October after only two weeks on the job because of corruption charges in his native Costa Rica .