<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_chess960_pos(cls: Type[BaseBoardT], sharnagl: int) -> BaseBoardT: """ Creates a new board, initialized with a Chess960 starting position. """

        board = cls.empty()
        board.set_chess960_pos(sharnagl)
        return board