What does "effendi" mean?

Effendi: Master; sir; -- a title of a Turkish state official and man of learning, especially one learned in the law.

Sources