One of the coolest endings ever.