Broad-based buying and improving global sentiment led the rally