The security minister, Celso Gamboa Sánchez, is going to become the No. 2 person in the Ministerio Público, the independent prosecutorial agency.
Gamboa has a good reputation as a crime fighter, and the change puts him on the inside track to become fiscal general, the boss of all the prosecutors.
Prosecutors have been under fire, in part because of what a trial court said was poor police work that led to the acquittal of seven men accused of murdering an environmentalist.
Jorge Chavarría Guzmán, the fiscal general confirmed in an email that Gamboa would be joining the agency Feb. 16.
In the Costa Rican system, the prosecutors and the judicial investigators are within the court system.
Gamboa has been in the Ministerio de Seguridad since 2011, although not all that time as minister. He is an expert at public relations and maintains an active twitter account that is consulted by reporters.
He also has been director of the Dirección de Inteligencia y Seguridad Nacional.
President Luis Guillermo Solís praised him Tuesday for the work he has done.
As security minister, Gamboa supervised the Fuerza Pública and other similar police agencies, including frontier police, airport police and anti-drug agents. His office produced a detailed list Tuesday of successes during his tenure. He has a degree in criminology as well as a law degree and has served as a prosecutor in the past.