Nathan John Cosgrove, 32, pleaded guilty to the April 30, 2019 crimes