Both men were allowed out on bail with conditions