WASHINGTON – New York’s progressive darling got her office Friday — space occupied by a soon-to-depart Republican.

Rep.-elect Alexandria Ocasio-Cortez ended Week 2 in Washington faring better than most of her fellow freshmen by drawing No. 40 out of 85 in a lottery to determine office assignments.

She ended up taking the Cannon House Office Building office of Rep. Barbara Comstock, a Virginia Republican who was defeated in the blue wave that gave Democrats the House majority.

By the time Ocasio-Cortez arrived on Friday, much of Comstock’s office had already been abandoned, aside from leftover soy milk and fruit in the fridge, a “happy birthday” banner and business cards for the former staff still on display.

Her new digs are within feet of where she kicked off her Washington debut, demonstrating with environmental activists in Nancy Pelosi’s office.

“We’re two doors down from where were protested two weeks ago,” Ocasio-Cortez marveled as she walked in. “We were in Leader Pelosi’s office and that literally is where the 200 kids were. This is meant to be.”

Freshman didn’t have access to the most desirable office building – Rayburn, which has the biggest suites.

So that left Longworth, which has the best cafeteria and close proximity to the Capitol, and Cannon, the oldest of the three and undergoing a major renovation project.

When it was her turn to choose, all the offices she had previewed earlier in the day were taken. Ocasio-Cortez then had a choice: a smaller office in Longworth, or a bigger one in Cannon.

“I’m not the one spending most of my time in these offices, so if I have to walk a little bit longer, and the staff gets a ton more space and a ton more light, then that, of course, is way more worth it,” she said.

The perks: the office is near an entrance so it’s easy for the public to find her; located near the hallway bathrooms and has close proximity to the Metro transit stop.

In the office lottery, superstitious members did everything they could think of for luck, including rubbing Staten Island Rep.-elect Max Rose’s bald head.

It paid off for Rose, who got the best lottery number among the New York freshmen at 37 and scored an office in Longworth.

After members had a lottery number, they embarked on a race to visit as many open offices as possible within a two-hour window.

Ocasio-Cortez managed her way around the maze of the Capitol complex with a veteran’s sense of direction, while stopping for pictures and autographs along the way for admiring fans.

She was followed by a film crew, which has been documenting her Cinderella congressional race for the last two years. The film, “Knock Down the House,” will be featured at the Sundance Film Festival.

At one point, she rode an elevator with an Architect of the Capitol staffer who recognized the celebrity pol and said: “You’re the other AOC.”