After years of trying to win over lunch and dinner crowds, Starbucks is preparing to open its first stand-alone Italian restaurant.

The company is teaming up with Princi, a small chain of 24-hour bakeries in Milan and London, to offer customers freshly made items including focaccia sandwiches, margherita pizzas and tiramisu. The first stage of the partnership will debuted last week, when Starbucks opened a Princi bakery in its upscale Reserve Roastery in Seattle. The company plans to eventually open bakeries inside all of its Reserve locations, and next year hopes to open stand-alone Princi eateries across the country. The openings will be in New York, Seattle and Chicago.

โ€œWeโ€™re getting into the food business,โ€ Howard Schultz, the chairman of Starbucks, said in an interview. โ€œPrinci will be fully integrated with bakery operations, so not only will we be roasting coffee, but weโ€™ll be baking bread, pastries โ€” the kind of Italian pastries youโ€™ve never seen in America.โ€

The move is the latest effort by the 45-year-old coffee purveyor to expand into food. Many of its attempts โ€” prepackaged cake pops, truffle mac and cheese, โ€œsushi burritosโ€ โ€” have fizzled, analysts say, in part because Starbucks stores havenโ€™t had kitchens. If customers are paying $10 for lunch, analysts say they want it to be prepared on the spot.

โ€œThere is a perception that Starbucks is selling an inferior product,โ€ Nick Setyan, an analyst for Wedbush Securities, told The Washington Post in September. โ€œCustomers are saying, โ€˜How good can that salad or sandwich be if youโ€™re not making it in front of me?โ€™ โ€

The new Princi locations are to have full kitchens staffed with bakers and โ€œfood ambassadorsโ€ called commessas. The menu, with about 100 items, includes baked eggs for breakfast, caprese salads for lunch, cocktails and small plates for dinner, and tarts, cookies and crostatas for dessert. Items will be priced between $3 and $11.

In 1980, Italian baker Rocco Princi started the boutique company, which now has five European locations. In July, Starbucks announced that it had invested in Princi and had become the companyโ€™s global licensee. (Princiโ€™s U.S. workers will be employed by Starbucks.)

โ€œWe have never baked in our stores in 45 years. But all of that will change with the creation of this unique partnership,โ€ Schultz said in a statement at the time. โ€œRocco and his team at Princi possess a passion for handcrafted food and artisanal baked goods that mirrors how I feel about our coffee.โ€

The announcement comes as Starbucks prepares to open its first coffee shops in Italy next year, starting with a Reserve Roastery in Milan.

โ€œHaving Princi in the Roastery in Italy will give us instant credibility, among other things,โ€ Schultz said.

The Seattle-based chain has tried for years, with mixed success, to get its customers to think beyond beverages. About 20 percent of Starbucksโ€™s revenue โ€” which last year was $21.32 billion โ€” comes from food sales, up 16 percent from five years ago.

But this isnโ€™t the first time Starbucks has pinned its hopes on a stand-alone bakery. In 2012, the company paid $100 million for La Boulange, a San Francisco-based company with 23 stores. Starbucks had high hopes then, too, with plans to open about 400 new locations in five years.

But it didnโ€™t take long for those plans to fall flat. Three years later, Starbucks said it would be closing its La Boulange bakeries because they were โ€œnot sustainable for the companyโ€™s long-term growth.โ€