When comedian Nick Mundy planned to film a Youtube bit with Dwayne The Rock” Johnson, little did he know that the San Andreas star would end up officiating his wedding by the end of the day.

Johnson teamed up with website Screen Junkies to prank his longtime friend on one of the most important days of his life. Taking place last Saturday during a press junket for San Andreas, The Rock came up with the brilliant idea himself. After receiving the blessing of Mundy’s fiancee Dilara Karabas and completing all of the required paperwork, Screen Junkies pulled it all off without a hitch.

Mundy posted some unforgettable moments from his surprise wedding — American flag pants and all — to his Instagram account on Thursday. “My best friend @TheRock married my best friend @DilaraMarie and me in a surprise wedding!!! This was the best day of my life,” he captioned one post.

I love @DilaraMarie. I love @TheRock I love fucking America! #RockWedding #AmericaPants http://t.co/mC9BgS68qT A photo posted by Nick Mundy (@dickfundy) on May 21, 2015 at 4:03pm PDT

//platform.instagram.com/en_US/embeds.js

Catch the best wedding prank ever, below.

[youtube https://www.youtube.com/watch?v=J-B7UJtvlLM&w=610&h=343%5D