BOCA RATON, Fla. (AP) Two seasons after shutting down its football program, UAB closed out the year on an electrifying note.

Tyler Johnston III threw for 373 yards and four touchdowns, three of them to Xavier Ubosi, and UAB beat Northern Illinois 37-13 in the Boca Raton Bowl on Tuesday night.

Ubosi had seven catches for 227 yards for the Conference USA champion Blazers (11-3), who got their first-ever bowl victory in three appearances. UAB played in its second consecutive bowl since the program was reinstated after the self-imposed hiatus.

''I guess in our wildest dreams we dreamed of winning a conference championship and then cap it off with a bowl win, so it's really that sweet,'' UAB coach Bill Clark said. ''I don't think it could have gone any better for us, so I'm very proud.''

Northern Illinois (8-6), the Mid-American Conference champion, has lost six consecutive bowl games since beating Arkansas in the 2012 GoDaddy.com Bowl.

''It really comes down to three things. We gave up three touchdowns on three deep balls,'' NIU coach Rod Carey said. ''Old-fashioned go routes. Give those guys credit. They ran by us. They threw it, caught it. That's the difference. If not, it's 16-13. In the fourth quarter, I like our chances.

''We have to own it as coaches. We have to own it as players. We didn't coach good enough. We didn't play good enough. Thirteen points isn't winning football. Bummer.''

Johnston, who took over the starting job for the injured A.J. Erdely at midseason, set career highs in passing yards and touchdown passes, and Ubosi's 227 yards were the third-most receiving in a game in school history. Ubosi came into the game ranked second in the country at 21.8 yards per catch, and his TD receptions covered 70, 46 and 66 yards.

''I'm surprised but at the same time you work for it,'' Ubosi said. ''Just practice hard and whatever you do in practice you'll do in the game.''

All-American Spencer Brown, who entered with 1,167 rushing yards and a school-record 16 touchdowns, caught a 3-yard shovel pass for a score and had 78 yards on the ground.

UAB's 10th-ranked defense harassed Huskes quarterback Marcus Childers, sacking him five times and forcing two fumbles (one lost). He finished 22 of 29 for 179 yards and had 35 yards rushing on 18 carries. NIU led the nation with 50 sacks, but never got to Johnston.

Johnston hit Ubosi in stride for a 70-yard TD just 18 seconds after the opening kickoff.

''It made it easier for me,'' Johnston said. ''Everyone wants to score on the first play of the game. I trusted (Ubosi). He said, `Just put it in front of me and I'll go get it.'''

After a penalty on a punt gave the Blazers a fourth-and-1 opportunity that they converted, the duo connected again with 5:11 remaining in the first half for a 24-10 lead.

The Huskies cut it to 27-13 early in the third, but a little over two minutes later, Johnston found Ubosi down the sideline for his third score.

Nick Vogel kicked three field goals for UAB.

''We talk a lot about making history,'' Clark said. ''We talked about it with Tyler and Xavier and we knew we were going to make history. We wanted to finish.''

Carey said the loss shouldn't blemish the careers of his senior class.

''It's a reward for a championship team,'' Carey said. ''We want to win. Don't get me wrong. I'm not going to let the narrative be about me. You want to write I'm 0-6 in bowl games, I could take that. I'm a big boy. But that's not what it's about.''

UP NEXT

Northern Illinois will be losing 6-foot-6, 320-pound left tackle Max Scharping, an NFL prospect who has started 53 consecutive games. Scharping is finalist for the William V. Campbell Trophy, given annually to the best scholar-athlete in college football.

UAB will be losing 35 seniors, including 15 starters. Ubosi has played his final game for the Blazers, along with four of five starting offensive linemen, both starting safeties, their middle linebacker and nose tackle. But Johnston and Brown have just begun their collegiate careers.

---

More AP college football: https://apnews.com/Collegefootball and https://twitter.com/AP-Top25

Copyright 2018 by AP. Any commercial use or distribution without the express written consent of AP is strictly prohibited.