New York Republican Rep. Dan Donovan has been accused of using his position to help his partner’s son get out of a heroin-related arrest in 2015.

A complaint filed with the Office of Congressional Ethics last week said the congressman from Staten Island, a former district attorney, stepped in after Timothy O’Connell, then 19, and a friend were arrested for “criminal sale and possession of a controlled substance (heroin),” the New York Post reported.

O’Connell is the son of Donovan’s domestic partner Serena Stonick.

“Later that evening, Donovan, while serving in Congress and as a former District Attorney, visited the 122 Precinct and used his position to illegally request that officers issue O’Connell and [a friend] a ‘desk appearance ticket’ instead of proceeding with normal arrest protocols,” the complaint reads. “This intervention allowed the detained to be immediately released from custody, as well as the records to be sealed.”

Police confirmed that O’Connell and a woman who was also 19 at the time were arrested together on December 2015. The charge was dismissed the following year.