A man fired a crossbow through the window of his friend's house in the early hours of the morning, a court has heard.
A judge told Alexander Jones he was lucky he had not caused serious injury or even death by using the "serious and highly dangerous weapon" in the street. Jones' victim said he doubted he would ever be able to get a good night's sleep in the property again.
Alexander Greenwood, prosecuting, told Cardiff Crown Court that Jones and his victim lived near each other in the Grangetown area of Cardiff and had been friends for around 20 years by the time of the incident in November last year though in the months leading up to the attack their relationship had "declined".