Man acquitted after admitting to crime