In 1937 De Valera 's republican constitution took Ireland out of the British Commonwealth , and the new republic elected its first president , Douglas Hyde , in 1938 .
Ireland 's first president , Douglas Hyde , had 4 children .