A simple question here, since I coulnd't find anything that addresses it specifically. I probably missed it somewhere, but I only get hits that refer to \flushright or something.

For my title page I want to have Supervisor on the left, and Written By on the right at the bottom of the page. But when running the latter part, it is just relocated a bit more right and below the Supervisor part. 

How do I force a minipage ( I guess? ) to the right side of the document, aligned with the text on the left?

Thanks in advance, code is below.

```
\begin{minipage}[t]{7cm}
\flushleft
\textsc{Supervisor}

Prof. W. Name\\
\textit{University of XXX}
\end{minipage}

\hfill
\begin{minipage}[t]{7cm}
\flushright
\textsc{Written by}

D Name\\
\textit{University of XXX}
\end{minipage}

```