A 47-year-old Casper man admitted in court Wednesday to shooting a crossbow bolt through a window where his ex-girlfriend was staying last September.