PSNI officers arrested a man in the Main Street area of Garvagh, Co Derry, after shots were fired at around 3am this morning.
It is understood that the intended target, a 46-year-old man, was wounded in the lower leg.
A 25-year-old man was arrested in connection with the incident.