Penn National Gaming Inc., the operator of 29 casinos and racetracks, plans to split into two public companies by placing 17 of its properties into a real estate investment trust.

The company will continue to run most of the casinos and tracks, while the properties will be spun off to shareholders as the first casino-focused REIT, according the Wyomissing, Pennsylvania-based company.