BALTIMORE (AP) -- Ryan Mallett struggled in place of injured quarterback Joe Flacco, throwing for only 58 yards while playing the entire first half, and the Baltimore Ravens beat the Washington Redskins 23-3 on Thursday night in a sloppy preseason opener.
The Ravens scored 13 points while Mallett was in the game, including a 2-yard touchdown run by Terrance West following two costly penalties by the Redskins: pass interference for 23 yards on a third-and-8 and an illegal formation on a field goal try that hit the left upright.
Flacco has yet to take a snap this summer because of a bad back. That left Mallett to run the first-team offense; he went 9 for 18 and was sacked once.
"I thought we ran the ball well, but there are a few plays I would like to have back," Mallett said.
Asked to assess the quarterback's performance, coach John Harbaugh was succinct.
"I thought he played winning football. He played good football," Harbaugh said. "Just what we asked him to do."
In his defense, Mallett was operating behind a makeshift line and without his top three receivers.
But he didn't give the Ravens any reason to lose interest in adding free agent quarterback Colin Kaepernick.
The Redskins had even less success moving the ball. Starting quarterback Kirk Cousins went three-and-out on his two possessions, completing 1 of 2 passes.
"It was a good wake-up call for us. We need to play better," Cousins said.
Washington managed only 47 yards on 27 plays while falling behind 13-0 at halftime.
"We didn't play very well, obviously," coach Jay Gruden said. "We had two drives with our 1s and two three-and-outs. It wasn't good enough."
Though Baltimore's offense sputtered, its upgraded defense proved to be as good as advertised. Free agent defensive backs Tony Jefferson and Brandon Carr teamed with Jimmy Smith and Eric Weddle to seal the back end.
The biggest play of the first half was the last one: Justin Tucker kicked a 59-yard field goal for a 13-0 lead.
Washington took a loss, but hopes it didn't lose a key player -- starting strong safety Su'a Cravens hurt his knee and will have an MRI.
Redskins: First-round draft pick Jonathan Allen sacked Mallett in the second quarter while playing with the second-team defense. ... RB Samaje Perine fumbled and dropped a wide-open pass on consecutive plays in the second quarter. ... Seventh-round draft pick Joshua Holsey was called for a 23-yard pass interference penalty in the first quarter and broke up a long pass attempt by Mallett in the end zone in the second.
Ravens: Second-round draft pick Tyus Bowser had three tackles and a "quarterback hurry" in the first half. ... Rookie free agent Quincy Adeboyejo was targeted three times and had one catch for 10 yards.
Redskins: TE Jordan Reed (toe), WR Jamison Crowder (hamstring), WR Josh Doctson (hamstring) and LB Junior Galette (hamstring) all sat out. Reed is on the physically unable to perform list and hasn't practiced all training camp. ... LB Trent Murphy sprained his left knee in the first quarter and did not return. He was also scheduled to have an MRI.
Ravens: The offense was without OLs Marshal Yanda, Alex Lewis and Austin Howard; WRs Jeremy Maclin, Mike Wallace and Breshad Perriman; TE Benjamin Watson; and RB Danny Woodhead. The defense was missing top draft pick Marlon Humphrey, who participated in pregame agility drills but did not dress.
Redskins: LB Zach Brown, signed to a one-year deal after a Pro Bowl season with Buffalo, had a tackle for loss and was one of the best defenders early. Brown is behind Will Compton and Mason Foster at inside linebacker.
Ravens: WR/KR Tim White returned one punt for 9 yards, ran for 8 yards on an end-around and caught a TD pass in the third quarter. The rookie free agent is in competition with second-year pro Keenan Reynolds, whose 46-yard punt return in the third quarter set up White's touchdown.
Redskins: Redskins cornerback Josh Norman on the starters not playing much: "You get set up for that cake you think you're about to eat and then you can't devour it."
Ravens: Jefferson, on Baltimore's defense starting the game with three straight three-and-outs: "It was fire. We went out there and set the tone."
AP NFL website: www.pro32.ap.org and www.twitter.com/AP_NFL