From 1230 to 1250 A.D. Fredrick II had most of his many castles built.
Castel Del Monte was built in ca. 1246 A.D. It is still standing in Apulia, Italy, today.
References:
http://www.uh.edu/engines/epi1348.htm