UNION CITY -- Ahki Muhammad is a wide receiver by trade, but he does whatever the James Logan High football team needs.

Muhammad delivered big time Friday, rushing for 112 yards and two touchdowns and making a key interception to set up the go-ahead score in a 21-18 victory over San Ramon Valley.

"I just get in where I fit in," said Muhammad, who has orally committed to Nevada as a receiver. "If they need me to score, if they need me to get an interception, if they need me to make tackles, I'm happy wherever."

Muhammad had two first-half touchdowns as Logan (2-1) took a 14-11 lead. But San Ramon Valley (1-1) scored on its first drive of the third quarter, with quarterback Matt Winaker hitting Aran Roberts on a 4-yard pass to make it 18-14.

That score remained late in the third quarter when Muhammad intercepted Winaker and returned it 49 yards to the Wolves' 21. Four plays later, on fourth-and-8, Colts quarterback Christian Leota found Kavion Augustine for a 19-yard go-ahead touchdown.

San Ramon Valley threatened twice in the fourth quarter, once reaching the Logan 17 before a bad snap and a sack forced the Wolves well out of field goal range. But the Wolves punted twice from inside Colts territory.

Muhammad then iced the game by picking up two first downs on the ground, including a 20-yard run on third-and-5 that allowed the Colts to go into victory formation.

"This is just getting us ready for everything down the road," Muhammad said of the team's second straight win over the Wolves, including a 35-0 victory last year. "We've got De La Salle coming up, Bishop O'Dowd, Berkeley. They'll all be tough teams. We'll just see how we do."

Winaker put San Ramon Valley on the board first with a 6-yard touchdown run and also kicked a 33-yard field goal at the end of the first half. The Wolves' Marcus de la Pena fought hard for 87 yards on 19 carries against a physical Logan defense.

Follow Jimmy Durkin at Twitter.com/Jimmy_Durkin.