When you purchase a firearm at a federally licensed dealer, you must fill out an ATF 4473 form. It is a felony to lie on the form and say you are purchasing a firearm for yourself when it’s really for someone else, but Kelly did it anyway. The Obama File has more:

If Mr. Kelly did not intend to keep the AR-15, but to give it to another, he is committing a felony by being a “straw purchaser” under current law, and he must have stated on the ATF Form 4473 that he was buying it for himself, so he committed perjury on the BATF form, also a felony.

Considering who Mark Kelly is combined with the fact the Department of Justice doesn’t “have time” to prosecute those who lie on these forms according to Joe Biden, I doubt he’ll suffer any consequences.