You asked:

was stanley baldwin prime minister of the uk

Yes. Stanley Baldwin was the prime minister of the United Kingdom.
Stanley Baldwin
Stanley Baldwin
Stanley Baldwin

the United Kingdom
the United Kingdom
the United Kingdom