Although the United States joined with the U.N. in 2016 in a pledge to end child marriages by 2030, only seven states and two U.S. territories have made it illegal for people younger than 18 to get married. All other states allow it — sometimes with the permission of a parent, judge or both.