Andratx is a town nestled at the foot of the Tramuntana mountain in the southwest of the Balearic Island of Mallorca. It is an old municipality that includes the famous resort of Port of Andratx. It was built inland originally in order to protect the inhabitants against pirates invasions. Once a rural community, it now counts many international residents. It includes the towns of S'Arracó, Sant Elm and Camp de Mar.