As noted in the video above, the opening segment of Tuesday night’s Smackdown Live setup a WWE Championship match between AJ Styles and Daniel Bryan.

In the main event, Bryan defeated Styles to become the new WWE Champion just days before the Survivor Series PPV this Sunday in Los Angeles.

After the match, Bryan appeared to turn heel by attacking Styles.

Bryan will now face Universal Champion Brock Lesnar this Sunday night.

WWE has posted as video if the ending of the match: