An Oakland police officer was in stable condition Monday after apparently shooting himself by accident in San Leandro Saturday evening, officials said.

San Leandro Police officers responded to an apartment in the 400 block of Dolores Ave. just before 9 a.m. Saturday after report that a man had been shot.

Upon arrival, officers were met by a woman who said her boyfriend, an off-duty Oakland police officer, was in their apartment suffering from a single gunshot wound.

Officers immediately began first aid on the off-duty officer until paramedics arrived, according to a spokesman for San Leandro police. The officer was alert and talking to officers who were gathering information about the shooting.

“This is an ongoing investigation,” said San Leandro Police Lt. Isaac Benabou. “At this point in the case we know the shooting occurred in the parking lot of Bayfair (Center) mall, and it appears that he accidentally shot himself.”

The off-duty officer was transported to a local hospital for treatment and remains in stable condition.

The San Leandro force is conducting the investigation. Oakland police on Monday confirmed the shooting but referred all other questions to San Leandro.

Megan Cassidy is a San Francisco Chronicle staff writer. Email: megan.cassidy@sfchronicle.com Twitter: @meganrcassidy