It was owned by Portugal from 1521 to 1602 , by Persia from 1602 to 1783 , and by the Al-Khalifa family for a long time after that .
It was conquered by Portugal in 1521 and then by the Persians in 1602 . Since ( 1783 ) it has been under the control of the Al-Khalifa dynasty .