Thanks, it seems that my friend had right-of-way. I was on Starboard and he tacked to Starboard in front of me. Therefore, I had to tack to port in the middle of lots of Starboard traffic. Fortunately, I ducked the sterns on one boat and cleared the line of traffic where I could tack back to Starboard to go for the mark.