SAN FRANCISCO -- Mike Nolan left the locker room with no grin, no spring in his step, absolutely no indication his San Francisco 49ers had just shocked their oldest rivals in his head coaching debut.
The jubilant players in the room behind him -- and John York, the excited owner shaking his hand -- still knew something remarkable had just happened for the NFL's worst team in 2004.
Brandon Lloyd and Arnaz Battle caught second-quarter touchdown passes from Tim Rattay, and Mike Adams intercepted Marc Bulger's pass in San Francisco territory with 52 seconds left as the 49ers hung on for a 28-25 victory Sunday over the St. Louis Rams.
After the 49ers barely preserved the win in the final minutes, the relief on the players' faces was as palpable as the excitement in the sellout crowd throughout an entertaining second half. Nolan is just getting started, but his new players already believe.
"Just getting rid of that stench from last year, taking advantage of this fresh start, that's what this game is," linebacker Jeff Ulbrich said. "To win in a game that's truly meaningful, that's great."
Rookie Otis Amey returned a punt 75 yards for a touchdown the first time he touched the ball for the 49ers, who erupted for 21 points in the second quarter -- more than last season's 2-14 team scored in any quarter of its wretched season.
The 49ers' defense was on the field for nearly 40 minutes, but San Francisco held on for its first regular-season victory in regulation since Dec. 7, 2003. Both of the Niners' wins last season came in overtime against Arizona.
Rattay, who beat out top draft pick
"I don't know what word describes it, but it's certainly a big win for our team," Nolan said. "I wasn't here last year, but I can only imagine the frustration they have."
It also was an emotional victory for a team coming off a tragic summer in which offensive lineman Thomas Herrion collapsed and died after a game Aug. 20 of heart disease.
While the Niners were poised in the final minutes, St. Louis coach Mike Martz knows he's in for another round of criticism of his strategies.
Brandon Manumaleuna caught a 6-yard TD pass from Bulger with 2:13 to play, capping a drive that seemed to move far too deliberately, with nonchalant players jogging to the line while time expired.
San Francisco ran just 53 seconds off the clock on its next drive, but Bulger threw a pass behind Isaac Bruce across the middle. Adams, the nickel back abused by the Rams all day, swiped the deflection out of Bruce's hands.
"It was a really bad call on my part on the interception," Martz said. "I wish we could have it back. It cost us the game. ... I put the quarterback and receiver in a tough jam. I feel sick."
With the Rams trailing, Bulger went 34-of-56 for 362 yards. The Rams were error-prone and inefficient, but they haven't lost their swagger.
"It goes to show that the best team doesn't always win," Holt said. "I think that we were the better team at times today, and the stats showed that we were the better team."
When Rattay hit Lloyd for a 35-yard TD midway through the second period, the receiver jumped up and started rapping, using the ball as his microphone.
Showtime was just starting in San Francisco: Amey, a Bay Area native and an undrafted free agent from Division I-AA Sacramento State, made a beautiful punt return for a score, swerving through the heart of St. Louis' coverage team before coasting to the finish, waving at his nearest pursuer.
The 49ers' defense also stiffened: Bryant Young, the veteran defensive tackle converted to end, had three sacks in the first half, equaling his entire total for last season.
Kevan Barlow rushed for a 9-yard score on San Francisco's first possession after halftime, but St. Louis pulled within 28-18 on Bruce's 29-yard TD catch with 13:22 to play.
- Amey was known as Fred throughout his college career and training camp, but decided last week he preferred to be called by his middle name, Otis.
- Morton got a concussion while making his 30-yard catch. He didn't return. He expects to play next week at Philadelphia.
- Jeff Wilkins kicked three of his four field goals in the first half.