Ringo H.W. Chiu, AP
Gonzaga guard Johnathan Williams, left, blocks a shot by Pepperdine guard Elijah Lee during the first half of an NCAA college basketball game Saturday, Jan. 28, 2017, in Malibu, Calif.. (AP Photo/Ringo H.W. Chiu)

Gonzaga, the last unbeaten team in Division I, moved to No. 1 in The Associated Press college basketball poll for the second time in school history.

The Zags (22-0) jumped up from third when Villanova and Kansas both were beaten in a week when seven of the top 10 lost.

Gonzaga received 46 first-place votes from the 65-member national media panel Monday. The Zags were No. 1 for the last three weeks of the 2012-13 season.

Gonzaga is also ranked No. 1 in the latest USA Today coaches poll.

Up next for the Zags is a game at BYU on Thursday at 9 p.m. MST. It's the first time the Cougars will host the No. 1 team in the Marriott Center.

BYU last played the No. 1 in the country on Nov. 24, 2007, when the Cougars lost to North Carolina 73-63 in the Las Vegas Invitational Championship. BYU is 0-4 all-time against No. 1-ranked teams.

Gonzaga is the fifth team to reach No. 1 this season joining Duke, Kentucky, Villanova and Baylor.

Baylor (20-1), one of the three top 10 teams to not lose, jumped from fifth to second. The Bears had six first-place votes and were one point ahead of Kansas (19-2), which dropped one place after losing at West Virginia before winning at Kentucky. The Jayhawks had nine first-place votes.

AP Top 25 poll

The top 25 teams in The Associated Press' college basketball poll, with first-place votes in parentheses, records through Jan. 29, total points based on 25 points for a first-place vote through one point for a 25th-place vote and previous ranking

1. Gonzaga (46)22-015943
2. Baylor (6)20-115045
3. Kansas (9)19-215032
4. Villanova (4)20-214791
5. Arizona20-213877
6. Louisville18-4123713
7. West Virginia17-4110118
8. Kentucky17-410834
9. Virginia16-4106112
10. Wisconsin18-3105815
11. UCLA19-39938
12. North Carolina19-49659
13. Oregon19-386310
14. Cincinnati19-275619
15. Florida St.18-47276
16. Butler18-471711
17. Maryland19-251822
18. Saint Mary's (Cal)19-240921
19. South Carolina17-438423
20. Notre Dame17-536314
21. Duke16-533917
22. Creighton19-330716
23. Purdue17-526420
24. Florida16-521325
25. Northwestern18-4106-

Others receiving votes: SMU 69, Xavier 67, Southern Cal 29, Wichita St. 8, Middle Tennessee 5, Akron 5, VCU 3, Illinois St. 2, New Mexico St. 2, Virginia Tech 2, Utah 1, Iowa St. 1.