NORMAN, Okla. -- A solo home run in the fifth inning proved to be the difference as top-ranked Oklahoma suffered its first loss of the year with a 1-0 defeat at the hands of No. 25 Nebraska.

Oklahoma (17-1) saw the second-best start to a season in school history, and the fifth-longest winning streak overall at OU, come to an end in game two of a doubleheader against the Cornhuskers (12-5) on Saturday afternoon. The Sooners had won game one of the twin-bill, 10-3, earlier in the day.

It was the first time the team had been shut out since a 4-0 loss to Texas A&M on April 14, 2012, a span of 40 games.

"In the second game, I felt that we came out complacent," OU head coach Patty Gasso said. "The game was going along and we just kind of went along with it instead of taking ownership. We had five walks, seven hits, we had opportunities throughout and we couldn't move people in a timely way.

"It was a tough loss to take but one that we have to learn from, and to think that this team is very good, but for us to go through our schedule as an undefeated team is almost unheard of. So we've got to take it, wear it, learn from it and come out stronger and fight hard."

The game's lone run came in the fifth inning when Nebraska's Tatum Edwards hit a solo home run to left field on a 2-0 count off Oklahoma starter Michelle Gascoigne.

It spoiled what was otherwise another strong outing by the Oklahoma senior. The home run was one of just two hits allowed by Gascoigne. She struck out seven and walked just one as her record dropped to 7-1 on the season.

"Michelle threw very well and gave up that one big hit and that's really the beauty or the fate of the game, that timeliness of that one big hit," Gasso said. "I thought Michelle did a pretty nice job coming in and handling her business when she needed to."

Oklahoma, which left 10 runners on base, couldn't solve Nebraska's Emily Lockman. The freshman allowed seven hits and five walks and struck out three as she improved to 5-1 on the year.

"I feel like they came out ready to play a second game and their pitcher did a great job on the mound," Oklahoma senior Jessica Shults said. "We should have come out attacking; we left a lot of runners on base."

The Sooners had their chances to score throughout the game.

With two outs in the first inning, Shults singled and moved to second on a Keilani Ricketts walk. Shelby Pendley followed with a single to center field. Shults tried to score from second on the play but Nebraska's Kiki Stokes fired home from center field to get the out at the plate.

In the third inning, Lauren Chamberlain singled through the left side and was sacrificed to second by Georgia Casey. A groundout to second moved Chamberlain to third, but she was left there after a groundout.

The Sooners had a pair of runners in scoring position one inning later with no outs. After a groundout and lineout, Brianna Turang walked to load the bases, but Chamberlain flew out to deep right field for the third out.

Oklahoma had one last scoring chance in the seventh inning.

Turang led off with a single to left field. Two outs later, Shults drew a walk, but Lockman got a game-ending strikeout to secure the win for Nebraska.

Oklahoma closes out the weekend on Sunday with a contest against Houston, whom the Sooners beat 6-0 on Friday. First pitch against the Cougars is set for noon at Marita Hynes Field.

Sooner Sports Powered by FOX Sports is a multi-platform network that provides distribution of 1,000+ hours of Sooner sports programming annually on a variety of FOX Sports outlets, including FOX Sports Oklahoma, FOX Sports Southwest, and FOX College Sports. Additionally, the partnership between the University of Oklahoma and FOX Sports includes a comprehensive digital component featuring extensive "all-access" content not televised on FOX Sports networks including live streaming, archived games, and exclusive materials.

OU inspires champions today and prepares leaders for tomorrow by enabling its student-athletes to achieve their highest academic, athletic and personal aspirations. The OU Athletics Department sponsors 21 varsity sports with more than 600 student-athletes and is completely self-supporting.

Sooner Sports Properties, LLC, is the multimedia rights holder for athletics at the University of Oklahoma. Sooner Sports Properties is a joint venture of Learfield Communications, Tyler Media, LLC and Griffin Television.