it was originally produced in portugal during medieval times, and when the portuguese reached japan they gave some of it to the japanese nobility. the name is derived from portuguese "pão de castela" which means "bread of spain".