Sort all the edges in descending order based on their weights.
Start with an empty graph, which will become the Maximum Spanning Tree.
Iterate through the sorted edges. For each edge, if adding it to the current Maximum Spanning Tree doesn't create a cycle, add it to the tree. Continue this process until the Maximum Spanning Tree has (n-1) edges, where n is the number of vertices.