Sixth-round rookie Trace McSorley threw for 171 yards and a touchdown as the visiting Baltimore Ravens beat the Washington Redskins 20-7 in Andover, M.D., in Thursday’s preseason finale.

McSorley finished 15 of 27, and his 24-yard score to Jaleel Scott in the second quarter put the Ravens ahead for good. Scott had six grabs for 87 yards.

First-round rookie Dwayne Haskins finished 10 of 17 for 104 yards and a touchdown for Washington.