The prosecutor further told the court that during a police investigation, the accused person confessed to have committed the offence .